[Tinyos-commits] CVS: tinyos-1.x/tos/system Reset.h,1.3,1.4
Joe Polastre
jpolastre at users.sourceforge.net
Mon Nov 21 22:18:51 PST 2005
- Previous message: [Tinyos-commits]
CVS: tinyos-1.x/tos/lib/VM/languages/motlle/standalone
compile.c, 1.7, 1.8 compile.h, 1.3, 1.4 lexer.l, 1.8,
1.9 mparser.c, 1.6, 1.7 parser.y, 1.6, 1.7 scheme.c, 1.14,
1.15 tokens.h, 1.4, 1.5 tree.c, 1.3, 1.4 tree.h, 1.3, 1.4
- Next message: [Tinyos-commits] CVS: tinyos-1.x/tos/lib/VM/languages/motlle/doc
tinyscheme.txt, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-1.x/tos/system
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4341
Modified Files:
Reset.h
Log Message:
Silent errors are evil (so are preprocessor directives)
Putting an error in so that instead of thinking things will work
when they don't, you get an error that the function is not defined.
Index: Reset.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/system/Reset.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Reset.h 14 Sep 2005 17:06:38 -0000 1.3
--- Reset.h 22 Nov 2005 06:18:49 -0000 1.4
***************
*** 53,56 ****
--- 53,58 ----
#elif defined(PLATFORM_TELOS) || defined(PLATFORM_TELOSB)
WDTCTL = 0;
+ #else
+ #error "Reset.h not defined/supported for your platform, aborting..."
#endif
}
- Previous message: [Tinyos-commits]
CVS: tinyos-1.x/tos/lib/VM/languages/motlle/standalone
compile.c, 1.7, 1.8 compile.h, 1.3, 1.4 lexer.l, 1.8,
1.9 mparser.c, 1.6, 1.7 parser.y, 1.6, 1.7 scheme.c, 1.14,
1.15 tokens.h, 1.4, 1.5 tree.c, 1.3, 1.4 tree.h, 1.3, 1.4
- Next message: [Tinyos-commits] CVS: tinyos-1.x/tos/lib/VM/languages/motlle/doc
tinyscheme.txt, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-commits
mailing list