]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/sensorboards/tmote_onboard/CHamamatsuS10871TsrP.nc
Added thread_join functions and fixed the @spontaneous stuff to not create functions...
[tinyos-2.x.git] / tos / lib / tosthreads / sensorboards / tmote_onboard / CHamamatsuS10871TsrP.nc
index 8346ee8d82137d368370b6d58c539b5db84ca01f..84d43ac46a966928865664abb82b3207b0ff83b0 100644 (file)
@@ -41,13 +41,13 @@ module CHamamatsuS10871TsrP {
   }
 }
 implementation {
-  error_t hamamatsuS10871_tsr_read(uint16_t* val) @C() @spontaneous() {
+  error_t hamamatsuS10871_tsr_read(uint16_t* val) @C() AT_SPONTANEOUS {
     return call Read.read(val);
   }
-  error_t hamamatsuS10871_tsr_readStream(uint32_t* usPeriod, uint16_t* buf, uint16_t count) @C() @spontaneous() {
+  error_t hamamatsuS10871_tsr_readStream(uint32_t* usPeriod, uint16_t* buf, uint16_t count) @C() AT_SPONTANEOUS {
     return call ReadStream.read(usPeriod, buf, count);                                           
   }                                            
-  uint8_t hamamatsuS10871_tsr_getNumBits() @C() @spontaneous() {
+  uint8_t hamamatsuS10871_tsr_getNumBits() @C() AT_SPONTANEOUS {
     return call DeviceMetadata.getSignificantBits();
   }
 }