]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/sensorboards/tmote_onboard/CSensirionSht11P.nc
Fix problem where TinyLD example apps only complied successfully for Telosb
[tinyos-2.x.git] / tos / lib / tosthreads / sensorboards / tmote_onboard / CSensirionSht11P.nc
index 1e478ab81d5740cc1f892ff006d6702e97a47958..448d668150c326c3cec3506d5277d5ae2af9adeb 100644 (file)
@@ -54,4 +54,20 @@ implementation {
   uint8_t sensirionSht11_temperature_getNumBits() @C() AT_SPONTANEOUS {
     return call TemperatureMetadata.getSignificantBits();
   }
+  
+  default command error_t Humidity.read(uint16_t* val) {
+    return FAIL;
+  }
+
+  default command uint8_t HumidityMetadata.getSignificantBits() {
+    return 0;
+  }
+  
+  default command error_t Temperature.read(uint16_t* val) {
+    return FAIL;
+  }
+
+  default command uint8_t TemperatureMetadata.getSignificantBits() {
+    return 0;
+  }
 }