Skip to content

Commit

Permalink
remove uptime from status
Browse files Browse the repository at this point in the history
  • Loading branch information
liamkinne committed Jun 12, 2024
1 parent 3942884 commit 16e7fcd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gateway/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ pub async fn command(
firmware_version[0], firmware_version[1], firmware_version[2]
)?;

let uptime = u16_words_to_u32(&ctx.read_holding_registers(7, 2).await?)?;
writeln!(output, "Uptime: {} seconds", uptime)?;

writeln!(
output,
"Got status in {} seconds.",
Expand Down

0 comments on commit 16e7fcd

Please sign in to comment.