From 8601452b67ac60794e0b36da9fdf3e13d9569777 Mon Sep 17 00:00:00 2001 From: Uwe Seimet <48174652+uweseimet@users.noreply.github.com> Date: Thu, 5 Aug 2021 15:36:55 +0200 Subject: [PATCH] Feature testing improvement for X86 platforms (#164) * Do not poll for RaSCSI hardware events on X86 platforms * Fixed typo --- src/raspberrypi/xm6.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/raspberrypi/xm6.h b/src/raspberrypi/xm6.h index f03978c2..fbeeb13b 100644 --- a/src/raspberrypi/xm6.h +++ b/src/raspberrypi/xm6.h @@ -28,6 +28,11 @@ #define USE_SEL_EVENT_ENABLE // Check SEL signal by event #define REMOVE_FIXED_SASIHD_SIZE // remove the size limitation of SASIHD #define USE_MZ1F23_1024_SUPPORT // MZ-1F23 (SASI 20M/sector size 1024) +// This avoids an indefinite loop with warnings if there is no RaSCSI hardware +// and thus helps with running certain tests on X86 hardware. +#if defined(__x86_64__) || defined(__X86__) +#undef USE_SEL_EVENT_ENABLE +#endif //--------------------------------------------------------------------------- //