Browse Source

Fix preprocessor condition for SPLIT_HAPTIC_ENABLE (#20411)

Giuseppe Rota 3 years ago
parent
commit
e77699a58a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      quantum/split_common/transport.h

+ 1 - 1
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)