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

[Bug] Fix compilation error when Split Watchdog enabled (#21543)

Drashna Jaelre 3 лет назад
Родитель
Сommit
625671d1cf
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      quantum/split_common/split_util.c

+ 4 - 0
quantum/split_common/split_util.c

@@ -31,6 +31,10 @@
 #    include "rgblight.h"
 #    include "rgblight.h"
 #endif
 #endif
 
 
+#if defined(SPLIT_WATCHDOG_ENABLE)
+#    include "bootloader.h"
+#endif
+
 #ifndef SPLIT_USB_TIMEOUT
 #ifndef SPLIT_USB_TIMEOUT
 #    define SPLIT_USB_TIMEOUT 2000
 #    define SPLIT_USB_TIMEOUT 2000
 #endif
 #endif