Subversion Repositories HomeAutomation

Rev

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

  1. #include <avr/io.h>
  2.  
  3. #ifdef _VECTOR
  4. #undef _VECTOR
  5. #else
  6. #warning _VECTOR previously undefined. vectors.h should be included after sfr_defs.h (if it is included).
  7. #endif
  8. #define _VECTOR(N) __vector_boot_ ## N
  9.  
  10. #if __AVR_MEGA__
  11.   #define XJMP jmp
  12. #else
  13.   #define XJMP rjmp
  14. #endif
  15.