1
0
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:
travis-farmer 2023-10-21 14:17:56 -04:00
parent 70c1f1db2a
commit f88c617dbe

View File

@ -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)