From 7e2487ffbb7ffa5bf5b377cf70a14964aa6264fd Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Fri, 10 Feb 2023 15:29:09 +0000 Subject: [PATCH] Avoid compiler error when no HAL installed. --- DCCEXParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index c7d23e9..bcc25d7 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -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])); break; -#if !defined(IO_MINIMAL_HAL) +#if !defined(IO_NO_HAL) case HASH_KEYWORD_HAL: if (p[1] == HASH_KEYWORD_SHOW) IODevice::DumpAll();