summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Rota <403432+grota@users.noreply.github.com>2023-04-12 16:22:07 +0200
committerGitHub <noreply@github.com>2023-04-12 07:22:07 -0700
commite77699a58abe33dbe399343136dbe52822b35d86 (patch)
tree55f3de21b6db69a5b96ec77bb8b684086714d611
parente6997246455c7e8224497fe43c651e32c0b0d2a1 (diff)
Fix preprocessor condition for SPLIT_HAPTIC_ENABLE (#20411)
-rw-r--r--quantum/split_common/transport.h2
1 files changed, 1 insertions, 1 deletions
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)