*/
#include "Timer.h"
-module AdcP {
+module AdcP @safe() {
provides {
interface Read<uint16_t>[uint8_t client];
interface ReadNow<uint16_t>[uint8_t client];
}
void sample() {
- call Atm128AdcSingle.getData(channel(), refVoltage(), TRUE, prescaler());
+ call Atm128AdcSingle.getData(channel(), refVoltage(), FALSE, prescaler());
}
error_t startGet(uint8_t newState, uint8_t newClient) {