outputaddressing corrected

declared notifyDccAccState for backward compatibility
This commit is contained in:
MicroBahner
2018-03-27 14:51:49 +02:00
parent 0fbe2a13d1
commit f55f2644ff
2 changed files with 14 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
//
// Model Railroading with Arduino - NmraDcc.h
//
// Copyright (c) 2008 - 2105 Alex Shepherd
// Copyright (c) 2008 - 2018 Alex Shepherd
//
// This source file is subject of the GNU general public license 2,
// that is available at the world-wide-web at
@@ -670,6 +670,9 @@ extern void notifyCVResetFactoryDefault(void) __attribute__ ((weak));
*/
extern void notifyCVAck(void) __attribute__ ((weak));
// Deprecated, only for backward compatibility with version 1.4.2. Don't use in new designs
extern void notifyDccAccState( uint16_t Addr, uint16_t BoardAddr, uint8_t OutputAddr, uint8_t State ) __attribute__ ((weak));
#if defined (__cplusplus)
}
#endif