mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-23 21:01:25 +01:00
Reverse setBrake()
This commit is contained in:
parent
ed332efd2e
commit
deec8b7e8c
@ -54,7 +54,7 @@ void Hardware::setPower(bool isMainTrack, bool on) {
|
||||
WritePin(isMainTrack ? MAIN_POWER_PIN : PROG_POWER_PIN, on ? HIGH : LOW);
|
||||
}
|
||||
void Hardware::setBrake(bool isMainTrack, bool on) {
|
||||
WritePin(isMainTrack ? MAIN_BRAKE_PIN : PROG_BRAKE_PIN, on ? LOW:HIGH);
|
||||
WritePin(isMainTrack ? MAIN_BRAKE_PIN : PROG_BRAKE_PIN, on ? HIGH : LOW);
|
||||
}
|
||||
|
||||
void Hardware::setSignal(bool isMainTrack, bool high) {
|
||||
|
Loading…
Reference in New Issue
Block a user