X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsensorboards%2Fbasicsb%2FCTempP.nc;h=a9efc9c2163a3f51dfa808ea4693696ae971c966;hp=1bcc8d9eb26944bededb2362eeeecb90ceceb655;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/tos/lib/tosthreads/sensorboards/basicsb/CTempP.nc b/tos/lib/tosthreads/sensorboards/basicsb/CTempP.nc index 1bcc8d9e..a9efc9c2 100644 --- a/tos/lib/tosthreads/sensorboards/basicsb/CTempP.nc +++ b/tos/lib/tosthreads/sensorboards/basicsb/CTempP.nc @@ -40,10 +40,10 @@ module CTempP { } } implementation { - error_t temp_read(uint16_t* val) @C() @spontaneous() { + error_t temp_read(uint16_t* val) @C() AT_SPONTANEOUS { return call BlockingRead.read(val); } - error_t temp_readStream(uint32_t* usPeriod, uint16_t* buf, uint16_t count) @C() @spontaneous() { + error_t temp_readStream(uint32_t* usPeriod, uint16_t* buf, uint16_t count) @C() AT_SPONTANEOUS { return call BlockingReadStream.read(usPeriod, buf, count); } }