Skip to content

Commit

Permalink
Update src/bin/hms-mqtt-publish/main.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Dennis Luxen <ich@dennisluxen.de>
  • Loading branch information
gendelo3 and DennisOSRM authored Mar 17, 2024
1 parent 1c045a2 commit fbb725c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/bin/hms-mqtt-publish/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ fn main() {
output_channels.push(Box::new(SimpleMqtt::<RumqttcWrapper>::new(&config)));
}

if config.smiles_cooperation {
if config
.smiles_cooperation
.is_some_and(|value| value) {
info!("S-Miles cloud cooperative mode enabled");
}
{
info!("S-Miles cloud cooperative mode enabled");
}

Expand Down

0 comments on commit fbb725c

Please sign in to comment.