Merge branch 'master' into MicroBahner-Without-use-of-HW-timers

* master:
  Fixed issue reported by lucari Despite the values set for F0-4, a packet with all fields set to zero is received. The problem seems to be related to NrmaDcc.cpp and a hidden 'break' statement at line 484. This should be swapped with the #endif on the next line. The result is that when a Speed packet is processed, it drops through to the next case statement and sends an empty DCCFunc command.
  Added Iowa Scaled Engineering ARD-DCCSHIELD example
  fixed call-back function void notifyDccFunc and changed version to 1.2.1
This commit is contained in:
Alex Shepherd
2016-05-17 12:09:50 +12:00
2 changed files with 124 additions and 1 deletions

View File

@@ -683,8 +683,8 @@ void processMultiFunctionMessage( uint16_t Addr, DCC_ADDR_TYPE AddrType, uint8_t
uint8_t fn0 = (Cmd & 0b00010000) ;
notifyDccFunc( Addr, AddrType, FN_0, fn0 ) ;
}
break;
#endif
break;
case 0b10000000: // Function Group 0..4
if( notifyDccFunc )