Subversion Repositories HomeAutomation

Rev

Rev 362 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1. #include <inttypes.h>
  2. #include <avr/io.h>
  3. #include <avr/interrupt.h>
  4. #include <config.h>
  5. #include <drivers/can/can.h>
  6. #include CAN_DRIVER_H
  7.  
  8. //---------------------------------------------------------------------------
  9. // Function definitions for the exported interface
  10. // These must all start with 'BIOS_' to be included in the library.
  11.  
  12. void BIOS_Reset(void) {
  13.     // Just loop and let the watchdog reset
  14.     cli();
  15.     while(1);
  16. }
  17.  
  18. Can_Return_t BIOS_CanSend(Can_Message_t* msg) {
  19.     return Can_Send(msg);
  20. }
  21.  
  22.