]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/sensorboards/basicsb/CPhotoP.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / lib / tosthreads / sensorboards / basicsb / CPhotoP.nc
index 51aeeff320bcd97b9153f63708e6dffa827456c9..f1baf8e7998cc552f74d48000bfff138e7322b8c 100644 (file)
@@ -40,10 +40,10 @@ module CPhotoP {
   }
 }
 implementation {
-  error_t photo_read(uint16_t* val) @C() @spontaneous() {
+  error_t photo_read(uint16_t* val) @C() AT_SPONTANEOUS {
     return call BlockingRead.read(val);
   }
-  error_t photo_readStream(uint32_t* usPeriod, uint16_t* buf, uint16_t count) @C() @spontaneous() {
+  error_t photo_readStream(uint32_t* usPeriod, uint16_t* buf, uint16_t count) @C() AT_SPONTANEOUS {
     return call BlockingReadStream.read(usPeriod, buf, count);
   }
 }