summaryrefslogtreecommitdiffstats
path: root/firmware/export/adc.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/adc.h')
-rw-r--r--firmware/export/adc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/adc.h b/firmware/export/adc.h
index e10cce0d27..54d5d98212 100644
--- a/firmware/export/adc.h
+++ b/firmware/export/adc.h
@@ -25,4 +25,8 @@
unsigned short adc_read(int channel);
void adc_init(void);
+#ifndef NEED_ADC_CLOSE
+#define adc_close()
+#endif
+
#endif /* _ADC_H_ */