Skip to content

Commit

Permalink
Fixed mistake on switching from txPin_p to txPin_g - forgot to remove…
Browse files Browse the repository at this point in the history
… dereference
  • Loading branch information
N-Storm committed May 30, 2024
1 parent e5d2059 commit 7feb15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/lib/DLTransmitter/DLTransmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void inline switch_txPin() {
PINB = 1 << txPin_g;
#else
state_buf = !state_buf;
digitalWrite(*txPin_g, state_buf ? HIGH : LOW);
digitalWrite(txPin_g, state_buf ? HIGH : LOW);
#endif
}

Expand Down

0 comments on commit 7feb15b

Please sign in to comment.