]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/sensorboards/tmote_onboard/CHamamatsuS1087ParP.nc
Fix problem where TinyLD example apps only complied successfully for Telosb
[tinyos-2.x.git] / tos / lib / tosthreads / sensorboards / tmote_onboard / CHamamatsuS1087ParP.nc
index 6afd3f77a2fc130b50ba00c5ffcb598166a73171..bd45a932614a2184151c4b7590e12592009b2bb0 100644 (file)
@@ -51,4 +51,16 @@ implementation {
   uint8_t hamamatsuS1087_par_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;
+  }
 }