From 799ec05191824f50f7a77cbafe4b4cfd351a8f7b Mon Sep 17 00:00:00 2001 From: James Date: Fri, 26 Apr 2024 12:05:15 +0100 Subject: [PATCH] fix? --- ESPBMS.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESPBMS.ino b/ESPBMS.ino index 122772f..ea5c954 100644 --- a/ESPBMS.ino +++ b/ESPBMS.ino @@ -151,8 +151,8 @@ void loop() { delay(500); } } - Serial.println("Disconnect"); - pRemoteCharacteristic_rx->unregisterForNotify(); + Serial.println("Reboot!"); + ESP.restart(); pClient->disconnect(); } }