Skip to content

Commit

Permalink
driver: setters and fix temperature reading
Browse files Browse the repository at this point in the history
  • Loading branch information
IniterWorker committed Apr 26, 2024
1 parent e2ff6c0 commit 736f706
Show file tree
Hide file tree
Showing 3 changed files with 329 additions and 106 deletions.
2 changes: 1 addition & 1 deletion src/bitfield_helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ macro_rules! define_enum_with_bitrange {
}) => {
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
#[repr(u8)]
enum $name {
pub enum $name {
$(
$(#[$meta])*
$variant = $value,
Expand Down
Loading

0 comments on commit 736f706

Please sign in to comment.