From bb5e1014f209c9866fea5132c9a7908a944a291e Mon Sep 17 00:00:00 2001 From: Giuseppe Rota <403432+grota@users.noreply.github.com> Date: Wed, 12 Apr 2023 16:22:07 +0200 Subject: [PATCH] Fix preprocessor condition for SPLIT_HAPTIC_ENABLE (#20411) --- quantum/split_common/transport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/split_common/transport.h b/quantum/split_common/transport.h index 6f8985cb0788..a3d6f1dfe956 100644 --- a/quantum/split_common/transport.h +++ b/quantum/split_common/transport.h @@ -213,7 +213,7 @@ typedef struct _split_shared_memory_t { bool watchdog_pinged; #endif // defined(SPLIT_WATCHDOG_ENABLE) -#if defined(HAPTIC_ENABLE) +#if defined(HAPTIC_ENABLE) && defined(SPLIT_HAPTIC_ENABLE) split_slave_haptic_sync_t haptic_sync; #endif // defined(HAPTIC_ENABLE)