]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/eyesIFX/sensors/RssiSensorC.nc
use ACLK as clock source for ADC -- may use less energy
[tinyos-2.x.git] / tos / platforms / eyesIFX / sensors / RssiSensorC.nc
index fc3b4bfc83cd26e05949856a20a0a603e2eb3bf0..718695f8e937a6619c7c63d8e35a582515d732f2 100644 (file)
@@ -58,10 +58,10 @@ implementation
              
   components new AdcReadClientC() as AdcReadClient;
   Read = AdcReadClient;
-  AdcReadClient.Msp430Adc12Config -> Settings.Msp430Adc12Config[RSSI_SENSOR_REF_1_5V];
+  AdcReadClient.AdcConfigure -> Settings.AdcConfigure[RSSI_SENSOR_REF_1_5V];
   
   components new AdcReadNowClientC() as AdcReadNowClient;
   ReadNow = AdcReadNowClient;
   ReadNowResource = AdcReadNowClient;
-  AdcReadNowClient.Msp430Adc12Config -> Settings.Msp430Adc12Config[RSSI_SENSOR_REF_1_5V];
+  AdcReadNowClient.AdcConfigure -> Settings.AdcConfigure[RSSI_SENSOR_REF_1_5V];
 }