]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/atm128/adc/Atm128AdcP.nc
use async power manager for adc
[tinyos-2.x.git] / tos / chips / atm128 / adc / Atm128AdcP.nc
index 2510301aeaad0d31f5363bf94df99ccb43411fc1..2d6f2b587c220bebbd2b09c97f9506c386b37c0f 100644 (file)
@@ -63,7 +63,7 @@ module Atm128AdcP
 {\r
   provides {\r
     interface Init;\r
-    interface StdControl;\r
+    interface AsyncStdControl;\r
     interface Atm128AdcSingle;\r
     interface Atm128AdcMultiple;\r
   }\r
@@ -101,12 +101,12 @@ implementation
      called. This drops A/D conversion latency by a factor of two (but\r
      increases idle mode power consumption a little). \r
   */\r
-  command error_t StdControl.start() {\r
+  async command error_t AsyncStdControl.start() {\r
     atomic call HplAtm128Adc.enableAdc();\r
     return SUCCESS;\r
   }\r
 \r
-  command error_t StdControl.stop() {\r
+  async command error_t AsyncStdControl.stop() {\r
     atomic call HplAtm128Adc.disableAdc();\r
 \r
     return SUCCESS;\r