From e77699a58abe33dbe399343136dbe52822b35d86 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: Fix preprocessor condition for SPLIT_HAPTIC_ENABLE (#20411) --- quantum/split_common/transport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quantum') diff --git a/quantum/split_common/transport.h b/quantum/split_common/transport.h index 6f8985cb07..a3d6f1dfe9 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) -- cgit v1.2.3