generated from wessel/boilerplate
fix(serial): Correct uart messages
This commit is contained in:
@@ -310,12 +310,12 @@ void app_main(void)
|
||||
if (mqtt_toggle && !toggle_completed && !wifi_initialized) {
|
||||
wifi_init();
|
||||
mqtt_app_start();
|
||||
ESP_LOGI("BOOT", "Boot button pressed: starting in MQTT mode");
|
||||
ESP_LOGI("BOOT", "Boot button pressed: starting MQTT mode");
|
||||
toggle_completed = true;
|
||||
} else if (!mqtt_toggle && !toggle_completed && wifi_initialized) {
|
||||
mqtt_app_stop();
|
||||
wifi_deinit();
|
||||
ESP_LOGI("BOOT", "Boot button not pressed: starting in serial-only mode");
|
||||
ESP_LOGI("BOOT", "Boot button not pressed: starting serial-only mode");
|
||||
toggle_completed = true;
|
||||
}
|
||||
mpu6886_read_accel(&mpu, &accel);
|
||||
|
||||
Reference in New Issue
Block a user