]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Move AT_SPONTANEOUS definition from TinyOSEntryPointC.nc to TinyOSMainP.nc. This...
authorliang_mike <liang_mike>
Fri, 9 Jan 2009 01:38:52 +0000 (01:38 +0000)
committerliang_mike <liang_mike>
Fri, 9 Jan 2009 01:38:52 +0000 (01:38 +0000)
tos/lib/tosthreads/csystem/TinyOSEntryPointC.nc
tos/lib/tosthreads/system/TinyOSMainP.nc

index 25befbd745e14ca07c2ff91537905c1c0147f6a5..d55f5a613a9aa3279d94dfbdd45d81cf28b704e9 100644 (file)
  
 #include "tosthread.h"
 
-#ifdef DYNTHREADS 
-  #define AT_SPONTANEOUS       @spontaneous()
-#else
-  #define AT_SPONTANEOUS
-#endif
-
 configuration TinyOSEntryPointC {
 }
 implementation {
index 75d06aa1683d5bf2d9669c5dac81959d8f75573b..8c8e44238099fa329c6f88969180f33d3a2afc44 100644 (file)
  * @author Kevin Klues <klueska@cs.stanford.edu> 
  */
 
+#ifdef DYNTHREADS 
+  #define AT_SPONTANEOUS       @spontaneous()
+#else
+  #define AT_SPONTANEOUS
+#endif
+
 module TinyOSMainP {
   provides {
     interface Boot;