From c09d3417e74456af02fdab1ef792b40654cd55a0 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 26 Apr 2024 12:06:25 +0100 Subject: [PATCH] whoopsd --- ESPBMS.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESPBMS.ino b/ESPBMS.ino index ea5c954..bf48469 100644 --- a/ESPBMS.ino +++ b/ESPBMS.ino @@ -151,10 +151,10 @@ void loop() { delay(500); } } - Serial.println("Reboot!"); - ESP.restart(); pClient->disconnect(); } + Serial.println("Reboot!"); + ESP.restart(); } static void MyNotifyCallback(BLERemoteCharacteristic *pBLERemoteCharacteristic, uint8_t *pData, size_t length, bool isNotify){