fixed call-back function void notifyDccFunc( uint16_t Addr, DCC_ADDR_TYPE AddrType, FN_GROUP FuncGrp, uint8_t FuncState) to include the new parameter: DCC_ADDR_TYPE AddrType
This commit is contained in:
@@ -33,7 +33,6 @@ DCC_MSG Packet ;
|
||||
|
||||
#define This_Decoder_Address 17
|
||||
|
||||
extern uint8_t Decoder_Address = This_Decoder_Address;
|
||||
struct CVPair
|
||||
{
|
||||
uint16_t CV;
|
||||
@@ -89,7 +88,7 @@ void loop()
|
||||
}
|
||||
}
|
||||
|
||||
extern void notifyDccFunc( uint16_t Addr, FN_GROUP FuncGrp, uint8_t FuncState)
|
||||
void notifyDccFunc( uint16_t Addr, DCC_ADDR_TYPE AddrType, FN_GROUP FuncGrp, uint8_t FuncState)
|
||||
{
|
||||
switch(FuncGrp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user