diff --git a/targets/esp32/main.c b/targets/esp32/main.c index de3cab9725..e7594fb45b 100644 --- a/targets/esp32/main.c +++ b/targets/esp32/main.c @@ -83,7 +83,9 @@ static void espruinoTask(void *data) { #endif while(1) { jsiLoop(); // Perform the primary loop processing +#ifdef BLUETOOTH gatts_sendNUSNotificationIfNotEmpty(); +#endif } }