further components and bootstrap initial
This commit is contained in:
@@ -293,7 +293,7 @@ fn safe_main() -> anyhow::Result<()> {
|
||||
board.general_fault(true);
|
||||
}
|
||||
}
|
||||
if (config.network.mqtt_url.is_some()){
|
||||
if (config.network.mqtt_url.is_some()) {
|
||||
match board.mqtt(&config) {
|
||||
Ok(_) => {
|
||||
println!("Mqtt connection ready");
|
||||
@@ -319,8 +319,11 @@ fn safe_main() -> anyhow::Result<()> {
|
||||
match board.wifi_ap(Some(config.network.ap_ssid.clone())) {
|
||||
Ok(_) => {
|
||||
println!("Started ap, continuing")
|
||||
},
|
||||
Err(err) => println!("Could not start config override ap mode due to {}", err.to_string()),
|
||||
}
|
||||
Err(err) => println!(
|
||||
"Could not start config override ap mode due to {}",
|
||||
err.to_string()
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user