From 8e740fb499a73c8287132ad7f19993677dddfb41 Mon Sep 17 00:00:00 2001 From: Atsushi Sasaki Date: Mon, 19 Sep 2022 17:38:11 +0900 Subject: [PATCH] fix panic'ed bug when call BLEMIDI_Client_ESP32::end() is called --- src/hardware/BLEMIDI_Client_ESP32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/BLEMIDI_Client_ESP32.h b/src/hardware/BLEMIDI_Client_ESP32.h index d1642fc..4b7f8b4 100644 --- a/src/hardware/BLEMIDI_Client_ESP32.h +++ b/src/hardware/BLEMIDI_Client_ESP32.h @@ -256,7 +256,7 @@ public: _client->disconnect(); _client = nullptr; - return !_client->isConnected(); + return true; } void write(uint8_t *data, uint8_t length)