From 8680699a2d2a48c6ebfda550c1eec127b08ac64e Mon Sep 17 00:00:00 2001 From: Sven Oliver Moll Date: Sat, 11 Nov 2023 00:32:16 +0100 Subject: [PATCH] fixed compile problem when not using IEC --- src/doscmd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/doscmd.c b/src/doscmd.c index b2b005c..b61ec7c 100644 --- a/src/doscmd.c +++ b/src/doscmd.c @@ -1190,9 +1190,11 @@ static void handle_memexec(void) { datacrc = crc16_update(datacrc, command_buffer[i]); switch (datacrc) { +#ifdef CONFIG_HAVE_IEC case 0x597c: /* C128 DevMan 1581 mute code */ iec_sleep(); break; +#endif default: /* unknown M-E call */ set_error_ts(ERROR_UNKNOWN_DRIVEEXEC, datacrc >> 8, datacrc & 0xff); @@ -2249,10 +2251,12 @@ void parse_doscommand(void) { parse_getpartition(); break; +#ifdef CONFIG_HAVE_IEC case 'H': /* Hide */ iec_sleep(); break; +#endif case 'I': /* Initialize */