commit e77699a58abe33dbe399343136dbe52822b35d86
parent e6997246455c7e8224497fe43c651e32c0b0d2a1
Author: Giuseppe Rota <403432+grota@users.noreply.github.com>
Date: Wed, 12 Apr 2023 16:22:07 +0200
Fix preprocessor condition for SPLIT_HAPTIC_ENABLE (#20411)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)