mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-04-01 19:20:12 +02:00
number of ADC inputs was reversed
This commit is contained in:
parent
2b3ba514b0
commit
4f19a60621
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user