diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-08-15 17:32:57 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-08-15 17:32:57 +1000 |
| commit | 544b0013b104a6584660724ccd502adcccd7ca6c (patch) | |
| tree | 46b140ca9d51cdc14f0004ce64c7b89d021d5fce /src/system_fsm/booting.cpp | |
| parent | d6b83fcf4a1a3039c06e0b1d1a1f7e2af2351efb (diff) | |
| download | tangara-fw-544b0013b104a6584660724ccd502adcccd7ca6c.tar.gz | |
persist preferred bluetooth device in nvs
Diffstat (limited to 'src/system_fsm/booting.cpp')
| -rw-r--r-- | src/system_fsm/booting.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system_fsm/booting.cpp b/src/system_fsm/booting.cpp index 7bd5f890..1fc01976 100644 --- a/src/system_fsm/booting.cpp +++ b/src/system_fsm/booting.cpp @@ -62,7 +62,8 @@ auto Booting::entry() -> void { } ESP_LOGI(kTag, "starting bluetooth"); - sBluetooth.reset(new drivers::Bluetooth()); + sBluetooth.reset(new drivers::Bluetooth(sNvs.get())); + // sBluetooth->Enable(); // At this point we've done all of the essential boot tasks. Start remaining // state machines and inform them that the system is ready. |
