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

Missing DCC startup!!! + EXRAIL POWERON catchup

This commit is contained in:
Asbelos
2022-02-28 10:38:26 +00:00
parent 4f781074eb
commit dd9152864b
5 changed files with 12 additions and 1 deletions

View File

@@ -20,6 +20,7 @@
#include "TrackManager.h"
#include "FSH.h"
#include "DCCWaveform.h"
#include "DCC.h"
#include "MotorDriver.h"
#include "DIAG.h"
// Virtualised Motor shield multi-track hardware Interface
@@ -65,6 +66,7 @@ void TrackManager::Setup(const FSH * shieldname,
// && (mainDriver->getFaultPin() != UNUSED_PIN));
DIAG(F("Signal pin config: %S accuracy waveform"),
MotorDriver::usePWM ? F("high") : F("normal") );
DCC::begin(shieldname);
}
void TrackManager::addTrack(byte t, MotorDriver* driver) {