Skip to content

Commit 32021ed

Browse files
committed
Change logging format to match stack-ripper-ui reqs
1 parent 87f8db4 commit 32021ed

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/lora.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,9 @@ pub async fn receive(
9696
match rx_timeout_result.await {
9797
Ok(Ok((received_len, _rx_pkt_status))) => {
9898
info!("RX successful, with {} bytes", received_len);
99-
info!(
100-
"Packet info: RSSI:{} SNR:{}",
101-
_rx_pkt_status.rssi, _rx_pkt_status.snr
102-
);
103-
10499
// Deserialize and print
105100
let out: State = from_bytes(&rx_buff).unwrap();
106-
info!("Received state: {:?}", out);
101+
info!("Received state: {:?}, RSSI: {}, SNR: {}", out, _rx_pkt_status.rssi, _rx_pkt_status.snr);
107102
}
108103
Ok(Err(_)) => {
109104
error!("RX failed");

0 commit comments

Comments
 (0)