mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-07-28 09:53:45 +02:00
Add <D HAL RESET> command to attempt to reset failed devices.
This commit is contained in:
@@ -948,6 +948,8 @@ bool DCCEXParser::parseD(Print *stream, int16_t params, int16_t p[])
|
||||
case HASH_KEYWORD_HAL:
|
||||
if (p[1] == HASH_KEYWORD_SHOW)
|
||||
IODevice::DumpAll();
|
||||
else if (p[1] == HASH_KEYWORD_RESET)
|
||||
IODevice::reset();
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user