mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
compiler warning
This commit is contained in:
parent
1d47536501
commit
812cee364f
2
DCC.cpp
2
DCC.cpp
|
@ -44,7 +44,7 @@ const byte FN_GROUP_5=0x10;
|
|||
__FlashStringHelper* DCC::shieldName=NULL;
|
||||
|
||||
void DCC::begin(const __FlashStringHelper* motorShieldName, MotorDriver * mainDriver, MotorDriver* progDriver, byte timerNumber) {
|
||||
shieldName=motorShieldName;
|
||||
shieldName=(__FlashStringHelper*)motorShieldName;
|
||||
DCCWaveform::begin(mainDriver,progDriver, timerNumber);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user