mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 16:46:13 +01:00
up to date, no signal still
This commit is contained in:
parent
70c1f1db2a
commit
f88c617dbe
|
@ -244,7 +244,7 @@ void DCCTimer::setPWM(byte pin, bool high) {
|
|||
switch (pin) {
|
||||
case 12:
|
||||
if (!tim3ModeHA) {
|
||||
timerAux.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, D12);
|
||||
timerAux.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, 13);
|
||||
tim3ModeHA = true;
|
||||
}
|
||||
if (high)
|
||||
|
@ -254,7 +254,7 @@ void DCCTimer::setPWM(byte pin, bool high) {
|
|||
break;
|
||||
case 13:
|
||||
if (!tim2ModeHA) {
|
||||
timer.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, D13);
|
||||
timer.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, 12);
|
||||
tim2ModeHA = true;
|
||||
}
|
||||
if (high)
|
||||
|
|
Loading…
Reference in New Issue
Block a user