From 64b2fb86264fac23169e4909321f784a95dac3e8 Mon Sep 17 00:00:00 2001 From: Evgeny Kochetkov Date: Tue, 9 Oct 2018 15:33:58 +0300 Subject: [PATCH] fix NUM_ANALOG_INPUTS for Amperka WiFi slot --- variants/wifi_slot/pins_arduino.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/variants/wifi_slot/pins_arduino.h b/variants/wifi_slot/pins_arduino.h index a3fbfaaa4e..cdf393e37f 100644 --- a/variants/wifi_slot/pins_arduino.h +++ b/variants/wifi_slot/pins_arduino.h @@ -83,4 +83,7 @@ static const uint8_t analog_pin_to_mux_channel[] = { #include "../generic/common.h" +#undef NUM_ANALOG_INPUTS +#define NUM_ANALOG_INPUTS 8 + #endif /* Pins_Arduino_h */