X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsensorboards%2Fbasicsb%2FCPhotoP.nc;h=f1baf8e7998cc552f74d48000bfff138e7322b8c;hp=51aeeff320bcd97b9153f63708e6dffa827456c9;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 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); } }