aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/wirish_analog.c
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/wirish_analog.c')
-rw-r--r--wirish/wirish_analog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wirish/wirish_analog.c b/wirish/wirish_analog.c
index ba1290d..a658184 100644
--- a/wirish/wirish_analog.c
+++ b/wirish/wirish_analog.c
@@ -37,5 +37,5 @@ uint32 analogRead(uint8 pin) {
return 0;
}
- return adc_read(ADC1->regs, PIN_MAP[pin].adc_channel);
+ return adc_read(ADC1, PIN_MAP[pin].adc_channel);
}