From ef812a53e5a84665e74be8c46cb983edaa712b3f Mon Sep 17 00:00:00 2001 From: ailurux Date: Wed, 29 May 2024 08:18:31 +1000 Subject: [PATCH] Minor formatting fix --- src/drivers/bluetooth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/bluetooth.cpp b/src/drivers/bluetooth.cpp index 13d6747e..4880150f 100644 --- a/src/drivers/bluetooth.cpp +++ b/src/drivers/bluetooth.cpp @@ -540,7 +540,7 @@ static void timeoutCallback(TimerHandle_t) { } void Connecting::entry() { - sTimeoutTimer = xTimerCreate("bt_timeout", pdMS_TO_TICKS(15000), false, NULL, + sTimeoutTimer = xTimerCreate("bt_timeout", pdMS_TO_TICKS(15000), false, NULL, timeoutCallback); xTimerStart(sTimeoutTimer, portMAX_DELAY); @@ -568,7 +568,7 @@ void Connecting::react(const events::ConnectTimedOut& ev) { void Connecting::react(const events::Disable& ev) { // TODO: disconnect gracefully - transit(); + transit(); } void Connecting::react(const events::PreferredDeviceChanged& ev) {