X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsensorboards%2Fbasicsb%2FCPhotoP.nc;h=f1baf8e7998cc552f74d48000bfff138e7322b8c;hb=4f00f40a7c40b8ba3493abc904f895aeba5d7a09;hp=51aeeff320bcd97b9153f63708e6dffa827456c9;hpb=729c2ae97fd4657e60118af9793374124358a925;p=tinyos-2.x.git diff --git a/tos/lib/tosthreads/sensorboards/basicsb/CPhotoP.nc b/tos/lib/tosthreads/sensorboards/basicsb/CPhotoP.nc index 51aeeff3..f1baf8e7 100644 --- a/tos/lib/tosthreads/sensorboards/basicsb/CPhotoP.nc +++ b/tos/lib/tosthreads/sensorboards/basicsb/CPhotoP.nc @@ -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); } }