🐛 Fix adc_start for AVR, native

Followup to #23295
This commit is contained in:
Scott Lahteine
2021-12-25 22:10:47 -06:00
parent 555c749fe2
commit 00e6e90648
2 changed files with 7 additions and 5 deletions

View File

@@ -140,7 +140,7 @@ public:
static inline void adc_enable(const uint8_t) {}
// Begin ADC sampling on the given channel
static inline void adc_start(const pin_t ch) { active_ch = ch; }
static inline void adc_start(const uint8_t ch) { active_ch = ch; }
// Is the ADC ready for reading?
static inline bool adc_ready() { return true; }