make it even harder to unintentionally include fuse definitions

This commit is contained in:
Michael Moon 2011-02-04 11:04:15 +11:00
parent d88179a9ce
commit 1815ab1ef7
1 changed files with 31 additions and 29 deletions

View File

@ -1,4 +1,5 @@
#ifdef FUSES
#ifndef _FUSES_H
#ifdef _INCLUDE_FUSES
#if defined (__AVR_ATmega168__)
FUSES = {
.low = FUSE_CKSEL3 & FUSE_SUT0,
@ -26,4 +27,5 @@
#else
#warning No fuse definitions for this chip in fuses.h!
#endif
#endif /* FUSES */
#endif /* _INCLUDE_FUSES */
#endif /* _FUSES_H */