little fix

This commit is contained in:
Evan Feenstra
2022-06-13 14:10:11 -07:00
parent 1276e4fb81
commit 4ca483b001

View File

@@ -56,7 +56,7 @@ pub fn make_event_loop(mut mqtt: EspMqttClient<ConnState<MessageImpl, EspError>>
#[cfg(feature = "pingpong")]
pub fn make_event_loop(mut mqtt: EspMqttClient<ConnState<MessageImpl, EspError>>, rx: mpsc::Receiver<Event>, do_log: bool) -> Result<()> {
info!("About to subscribe to the mpsc channel");
log::info!("About to subscribe to the mpsc channel");
while let Ok(event) = rx.recv() {
match event {
Event::Connected => {