Skip to content

Commit

Permalink
fix: Update default value for b to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
S0c5 committed Apr 30, 2024
1 parent ae8e20e commit d0fd3d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pjs-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ impl PjsExtension {
return;
};
log::info!("s({:?})", s);
*b = u8::from_str_radix(s, 16).unwrap_or_default();
// *b = u8::from_str_radix(s, 16).unwrap_or_default();
*b = 1;
log::info!("b({:?})", &b);
}
}
Expand Down

0 comments on commit d0fd3d1

Please sign in to comment.