X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsensorboards%2Fbasicsb%2FCTempP.nc;h=a9efc9c2163a3f51dfa808ea4693696ae971c966;hb=4f00f40a7c40b8ba3493abc904f895aeba5d7a09;hp=1bcc8d9eb26944bededb2362eeeecb90ceceb655;hpb=729c2ae97fd4657e60118af9793374124358a925;p=tinyos-2.x.git 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); } }