fixed a bug with the Extended DCC Packet Decoder Reset command was only handling the Hard Reset but not the Soft Reset
This commit is contained in:
@@ -824,9 +824,8 @@ void processMultiFunctionMessage( uint16_t Addr, DCC_ADDR_TYPE AddrType, uint8_t
|
|||||||
switch( Cmd & 0b00001110 )
|
switch( Cmd & 0b00001110 )
|
||||||
{
|
{
|
||||||
case 0b00000000:
|
case 0b00000000:
|
||||||
if( notifyDccReset && ( Cmd & 0b00000001 ) ) // Hard Reset
|
|
||||||
if( notifyDccReset)
|
if( notifyDccReset)
|
||||||
notifyDccReset( 1 ) ;
|
notifyDccReset( Cmd & 0b00000001 ) ;
|
||||||
break ;
|
break ;
|
||||||
|
|
||||||
case 0b00000010: // Factory Test
|
case 0b00000010: // Factory Test
|
||||||
|
|||||||
Reference in New Issue
Block a user