Added WiFi AP console mode

This commit is contained in:
Mark Qvist 2023-01-07 16:35:07 +01:00
parent da1d9e732b
commit 910d50f11e
9 changed files with 313 additions and 27 deletions

View file

@ -109,7 +109,7 @@ char bt_devname[11];
bool bt_init() {
bt_state = BT_STATE_OFF;
if (bt_setup_hw()) {
if (bt_enabled) bt_start();
if (bt_enabled && !console_active) bt_start();
return true;
} else {
return false;