1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-23 08:06:13 +01:00

Avoid compiler error when no HAL installed.

This commit is contained in:
Neil McKechnie 2023-02-10 15:29:09 +00:00
parent 8083bd1b3b
commit 7e2487ffbb

View File

@ -944,7 +944,7 @@ bool DCCEXParser::parseD(Print *stream, int16_t params, int16_t p[])
DIAG(F("VPIN=%d value=%d"), p[1], IODevice::readAnalogue(p[1])); DIAG(F("VPIN=%d value=%d"), p[1], IODevice::readAnalogue(p[1]));
break; break;
#if !defined(IO_MINIMAL_HAL) #if !defined(IO_NO_HAL)
case HASH_KEYWORD_HAL: case HASH_KEYWORD_HAL:
if (p[1] == HASH_KEYWORD_SHOW) if (p[1] == HASH_KEYWORD_SHOW)
IODevice::DumpAll(); IODevice::DumpAll();