diff --git a/apps/dexdrip/dexdrip.c b/apps/dexdrip/dexdrip.c index ec5a315..bef1444 100644 --- a/apps/dexdrip/dexdrip.c +++ b/apps/dexdrip/dexdrip.c @@ -60,6 +60,7 @@ radio_channel: See description in radio_link.h. static XDATA volatile int start_channel = 0; uint32 XDATA asciiToDexcomSrc(char *addr); uint32 XDATA getSrcValue(char srcVal); +void setADCInputs(); volatile uint32 dex_tx_id; #define NUM_CHANNELS (4) static int8 fOffset[NUM_CHANNELS] = {0xCE,0xD5,0xE6,0xE5}; @@ -368,6 +369,7 @@ void goToSleep (uint32 seconds) { } } makeAllOutputs(); + setADCInputs(); } void putchar(char c) {