Skip to content

Commit 0f3111d

Browse files
authored
Merge pull request #2418 from GaryOtt/master
ESP32: Regression fix, cannot build without Bluetooth.
2 parents f87a53c + 88278bc commit 0f3111d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/esp32/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ static void espruinoTask(void *data) {
8383
#endif
8484
while(1) {
8585
jsiLoop(); // Perform the primary loop processing
86+
#ifdef BLUETOOTH
8687
gatts_sendNUSNotificationIfNotEmpty();
88+
#endif
8789
}
8890
}
8991

0 commit comments

Comments
 (0)