diff --git a/CommandStation-EX.ino b/CommandStation-EX.ino index cbe55a3..24a0aef 100644 --- a/CommandStation-EX.ino +++ b/CommandStation-EX.ino @@ -77,7 +77,11 @@ void setup() // Initialise HAL layer before reading EEprom or setting up MotorDrivers IODevice::begin(); -// Set up MotorDrivers early to initialize all pins + + // As the setup of a motor shield may require a read of the current sense input from the ADC, + // let's make sure to initialise the ADCee class! + ADCee::begin(); + // Set up MotorDrivers early to initialize all pins TrackManager::Setup(MOTOR_SHIELD_TYPE); DISPLAY_START ( @@ -102,9 +106,6 @@ void setup() EthernetInterface::setup(); #endif // ETHERNET_ON - // As the setup of a motor shield may require a read of the current sense input from the ADC, - // let's make sure to initialise the ADCee class! - ADCee::begin(); // Responsibility 3: Start the DCC engine. DCC::begin(); diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index 549ccda..c495610 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "devel-202306222055Z" +#define GITHUB_SHA "devel-202306222129Z"