Fix compiling error caused by commit 0cd4ee
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
#ifdef LK_WIRELESS_ENABLE
|
||||
#include "wireless.h"
|
||||
#endif
|
||||
#if defined(KC_BLUETOOTH_ENABLE)
|
||||
#include "bluetooth.h"
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(AUDIO_ENABLE) && defined(SENDSTRING_BELL)
|
||||
@@ -182,7 +185,7 @@ void send_string_with_delay(const char *string, uint8_t interval) {
|
||||
keycode = *(++string);
|
||||
}
|
||||
while (ms--) {
|
||||
#ifdef LK_WIRELESS_ENABLE
|
||||
#if defined(LK_WIRELESS_ENABLE) || defined(KC_BLUETOOTH_ENABLE)
|
||||
send_string_task();
|
||||
#endif
|
||||
wait_ms(1);
|
||||
@@ -196,13 +199,13 @@ void send_string_with_delay(const char *string, uint8_t interval) {
|
||||
{
|
||||
uint8_t ms = interval;
|
||||
while (ms--) {
|
||||
#ifdef LK_WIRELESS_ENABLE
|
||||
#if defined(LK_WIRELESS_ENABLE) || defined(KC_BLUETOOTH_ENABLE)
|
||||
send_string_task();
|
||||
#endif
|
||||
wait_ms(1);
|
||||
}
|
||||
}
|
||||
#ifdef LK_WIRELESS_ENABLE
|
||||
#if defined(LK_WIRELESS_ENABLE) || defined(KC_BLUETOOTH_ENABLE)
|
||||
send_string_task();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user