mrrwa / NmraDcc

NMRA Digital Command Control (DCC) Library
GNU Lesser General Public License v2.1
135 stars 53 forks source link

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

Closed FrightRisk closed 3 years ago

FrightRisk commented 3 years ago

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: https://github.com/mrrwa/NmraDcc/pull/53

https://github.com/mrrwa/NmraDcc/blob/681b362811d7c25accc93222d22dacfb52412fcf/NmraDcc.h#L523-L527