Skip to content

Commit

Permalink
Comment uncommented dbgs (#14)
Browse files Browse the repository at this point in the history
* Update setup.rs

* Update notifications.rs
  • Loading branch information
romw314 authored Jan 8, 2024
1 parent b697163 commit cc637a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lego-powered-up/src/notifications.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1454,9 +1454,9 @@ impl PortOutputCommandFormat {
((*use_acc_profile as u8) << 1) | (*use_dec_profile as u8);
let speed = speed.to_le_bytes()[0];
let max_power = max_power.to_le_bytes()[0];
dbg!(time);
//dbg!(time);
let time = time.to_le_bytes();
dbg!(time);
//dbg!(time);
let mut bytes = vec![
// Header
0, // len
Expand Down
2 changes: 1 addition & 1 deletion lego-powered-up/src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub async fn single_hub() -> Result<ConnectedHub> {
println!("Waiting for hub...");
let hub = pu.wait_for_hub().await?;
println!("Connecting to hub...");
dbg!(&hub);
//dbg!(&hub);

Ok(ConnectedHub::setup_hub(
pu.create_hub(&hub).await.expect("Error creating hub"),
Expand Down

0 comments on commit cc637a0

Please sign in to comment.