Closed evili closed 1 year 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.
extern int8_t notifyLNCVread(uint16_t ArtNr, uint16_t lncvAddress, uint16_t& lncvValue) __attribute__((weak));
Signed-off-by: Evili del Rio evili@iiia.csic.es
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