1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00

Squash all commits on RMFT branch to create EX-RAIL branch

This commit is contained in:
FrightRisk
2021-08-03 17:12:25 -04:00
parent f8fb08e331
commit 5eff4c5ee5
54 changed files with 4777 additions and 614 deletions

View File

@@ -24,6 +24,7 @@
#include "GITHUB_SHA.h"
#include "version.h"
#include "FSH.h"
#include "IODevice.h"
// This module is responsible for converting API calls into
// messages to be sent to the waveform generator.
@@ -52,6 +53,9 @@ void DCC::begin(const FSH * motorShieldName, MotorDriver * mainDriver, MotorDriv
shieldName=(FSH *)motorShieldName;
StringFormatter::send(Serial,F("<iDCC-EX V-%S / %S / %S G-%S>\n"), F(VERSION), F(ARDUINO_TYPE), shieldName, F(GITHUB_SHA));
// Initialise HAL layer before reading EEprom.
IODevice::begin();
// Load stuff from EEprom
(void)EEPROM; // tell compiler not to warn this is unused
EEStore::init();