1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 16:46:13 +01:00

don't see why ADCee fails

This commit is contained in:
travis-farmer 2023-10-23 07:29:37 -04:00
parent decebd1802
commit 38f4d5f9d9

View File

@ -314,7 +314,7 @@ void DCCTimer::reset() {
int16_t ADCee::ADCmax() int16_t ADCee::ADCmax()
{ {
return 4095; return 1023;
} }
int ADCee::init(uint8_t pin) { int ADCee::init(uint8_t pin) {
@ -335,11 +335,11 @@ int ADCee::read(uint8_t pin, bool fromISR) {
/* /*
* Scan function that is called from interrupt * Scan function that is called from interrupt
*/ */
//#pragma GCC push_options #pragma GCC push_options
//#pragma GCC optimize ("-O3") #pragma GCC optimize ("-O3")
void ADCee::scan() { void ADCee::scan() {
} }
//#pragma GCC pop_options #pragma GCC pop_options
void ADCee::begin() { void ADCee::begin() {
noInterrupts(); noInterrupts();