1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-03-31 02:30:12 +02:00

number of ADC inputs was reversed

This commit is contained in:
Harald Barth 2022-11-06 21:30:32 +01:00
parent 2b3ba514b0
commit 4f19a60621

View File

@ -120,9 +120,9 @@ void DCCTimer::reset() {
} }
#if defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560) #if defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560)
#define NUM_ADC_INPUTS 7
#else
#define NUM_ADC_INPUTS 15 #define NUM_ADC_INPUTS 15
#else
#define NUM_ADC_INPUTS 7
#endif #endif
uint16_t ADCee::usedpins = 0; uint16_t ADCee::usedpins = 0;
int * ADCee::analogvals = NULL; int * ADCee::analogvals = NULL;