mrrwa/NmraDcc

notifyDccAccTurnoutOutput() is for when CV29_OUTPUT_ADDRESS_MODE *IS* set?

FrightRisk opened this issue · 0 comments

notifyDccAccTurnoutBoard() and notifyDccAccTurnoutOutput() both seem to have the same cut and pasted comments. Shouldn't the former be for when CV29_OUTPUT_ADDRESS_MODE is 0 and the latter for when it is 1 (set)? I can't link I guess without being a member of this repo, but it is this PR: #53

NmraDcc/NmraDcc.h

Lines 523 to 527 in 681b362

* notifyDccAccTurnoutOutput() Output oriented callback for a turnout accessory decoder.
* Most useful when CV29_OUTPUT_ADDRESS_MODE is not set.
* Decoders of this type have 4 paired turnout outputs per board.
* OutputPower is 1 if the power is on, and 0 otherwise.
*