mrrwa / LocoNet

An embedded Loconet interface library for Arduino family microcontrollers
Other
65 stars 32 forks source link

Remove unused anonymous extra argument on notifyLNCVread #30

Closed evili closed 1 year ago

evili commented 2 years ago

Hello,

I think that there is an extra unneeded unused anonymous uint16_t argument in notifyLNCVread.

extern int8_t notifyLNCVread(uint16_t ArtNr, uint16_t lncvAddress, uint16_t, uint16_t& lncvValue) __attribute__((weak));

should be:

extern int8_t notifyLNCVread(uint16_t ArtNr, uint16_t lncvAddress, uint16_t& lncvValue) __attribute__((weak)); I have made the corresponding changes on LocoNet.h, LocoNet.cpp, examples/LocoNetLNCVDemo/LocoNetLNCVDemo.ino in this fork.

Signed-off-by: Evili del Rio evili@iiia.csic.es