diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-05-29 08:18:31 +1000 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-05-29 08:18:31 +1000 |
| commit | ef812a53e5a84665e74be8c46cb983edaa712b3f (patch) | |
| tree | f12defbfc8991f49e0052efbe2ed4105ad996ef4 | |
| parent | 9d67ddcf6e22ed3ea9d7da2dfcb368f87d3411f7 (diff) | |
| download | tangara-fw-ef812a53e5a84665e74be8c46cb983edaa712b3f.tar.gz | |
Minor formatting fix
| -rw-r--r-- | src/drivers/bluetooth.cpp | 4 |
1 files 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<Disabled>(); + transit<Disabled>(); } void Connecting::react(const events::PreferredDeviceChanged& ev) { |
