]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/sensorboards/tmote_onboard/CHamamatsuS1087ParP.nc
Added thread_join functions and fixed the @spontaneous stuff to not create functions...
[tinyos-2.x.git] / tos / lib / tosthreads / sensorboards / tmote_onboard / CHamamatsuS1087ParP.nc
index 683b606cf3dc67753d7503772a9a525e722e6a15..6afd3f77a2fc130b50ba00c5ffcb598166a73171 100644 (file)
@@ -42,13 +42,13 @@ module CHamamatsuS1087ParP {
 }
 implementation {
 
-  error_t hamamatsuS1087_par_read(uint16_t* val) @C() @spontaneous() {
+  error_t hamamatsuS1087_par_read(uint16_t* val) @C() AT_SPONTANEOUS {
     return call Read.read(val);
   }
-  error_t hamamatsuS1087_par_readStream(uint32_t* usPeriod, uint16_t* buf, uint16_t count) @C() @spontaneous() {
+  error_t hamamatsuS1087_par_readStream(uint32_t* usPeriod, uint16_t* buf, uint16_t count) @C() AT_SPONTANEOUS {
     return call ReadStream.read(usPeriod, buf, count);                                           
   }                                           
-  uint8_t hamamatsuS1087_par_getNumBits() @C() @spontaneous() {
+  uint8_t hamamatsuS1087_par_getNumBits() @C() AT_SPONTANEOUS {
     return call DeviceMetadata.getSignificantBits();
   }
 }