Просмотр исходного кода

Fix preprocessor condition for SPLIT_HAPTIC_ENABLE (#20411)

Giuseppe Rota 3 лет назад
Родитель
Сommit
e77699a58a
1 измененных файлов с 1 добавлено и 1 удалено
  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)