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) {
|
switch (pin) {
|
||||||
case 12:
|
case 12:
|
||||||
if (!tim3ModeHA) {
|
if (!tim3ModeHA) {
|
||||||
timerAux.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, D12);
|
timerAux.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, 13);
|
||||||
tim3ModeHA = true;
|
tim3ModeHA = true;
|
||||||
}
|
}
|
||||||
if (high)
|
if (high)
|
||||||
|
@ -254,7 +254,7 @@ void DCCTimer::setPWM(byte pin, bool high) {
|
||||||
break;
|
break;
|
||||||
case 13:
|
case 13:
|
||||||
if (!tim2ModeHA) {
|
if (!tim2ModeHA) {
|
||||||
timer.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, D13);
|
timer.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, 12);
|
||||||
tim2ModeHA = true;
|
tim2ModeHA = true;
|
||||||
}
|
}
|
||||||
if (high)
|
if (high)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user