mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-23 08:06:13 +01:00
move ADCee begin as well
This commit is contained in:
parent
db555e8820
commit
99b6ca025a
|
@ -77,7 +77,11 @@ void setup()
|
||||||
|
|
||||||
// Initialise HAL layer before reading EEprom or setting up MotorDrivers
|
// Initialise HAL layer before reading EEprom or setting up MotorDrivers
|
||||||
IODevice::begin();
|
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);
|
TrackManager::Setup(MOTOR_SHIELD_TYPE);
|
||||||
|
|
||||||
DISPLAY_START (
|
DISPLAY_START (
|
||||||
|
@ -102,9 +106,6 @@ void setup()
|
||||||
EthernetInterface::setup();
|
EthernetInterface::setup();
|
||||||
#endif // ETHERNET_ON
|
#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.
|
// Responsibility 3: Start the DCC engine.
|
||||||
DCC::begin();
|
DCC::begin();
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define GITHUB_SHA "devel-202306222055Z"
|
#define GITHUB_SHA "devel-202306222129Z"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user