]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/sensorboards/tmote_onboard/CHamamatsuS10871TsrP.nc
Fix problem where TinyLD example apps only complied successfully for Telosb
[tinyos-2.x.git] / tos / lib / tosthreads / sensorboards / tmote_onboard / CHamamatsuS10871TsrP.nc
index 84d43ac46a966928865664abb82b3207b0ff83b0..da4bfa9f4d552470cf083f6a9a08f04bbb663bea 100644 (file)
@@ -50,4 +50,16 @@ implementation {
   uint8_t hamamatsuS10871_tsr_getNumBits() @C() AT_SPONTANEOUS {
     return call DeviceMetadata.getSignificantBits();
   }
+  
+  default command error_t Read.read(uint16_t* val) {
+    return FAIL;
+  }
+  
+  default command error_t ReadStream.read(uint32_t* usPeriod, uint16_t* buf, uint16_t count) {
+    return FAIL;
+  }
+  
+  default command uint8_t DeviceMetadata.getSignificantBits() {
+    return 0;
+  }
 }