Skip to content

Commit

Permalink
saul: Follow C renamings
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Feb 24, 2023
1 parent 7ed6f17 commit 57dda8f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/saul.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,13 +419,13 @@ impl Unit {
riot_sys::UNIT_M => Some(Unit::M),
riot_sys::UNIT_M2 => Some(Unit::M2),
riot_sys::UNIT_M3 => Some(Unit::M3),
riot_sys::UNIT_G => Some(Unit::GForce),
riot_sys::UNIT_G_FORCE => Some(Unit::GForce),
riot_sys::UNIT_DPS => Some(Unit::Dps),
riot_sys::UNIT_GR => Some(Unit::Gram),
riot_sys::UNIT_GRAM => Some(Unit::Gram),
riot_sys::UNIT_A => Some(Unit::A),
riot_sys::UNIT_V => Some(Unit::V),
riot_sys::UNIT_W => Some(Unit::W),
riot_sys::UNIT_GS => Some(Unit::Gauss),
riot_sys::UNIT_GAUSS => Some(Unit::Gauss),
riot_sys::UNIT_T => Some(Unit::T),
riot_sys::UNIT_DBM => Some(Unit::Dbm),
riot_sys::UNIT_COULOMB => Some(Unit::Coulomb),
Expand Down Expand Up @@ -459,13 +459,13 @@ impl Unit {
Some(Unit::M) => riot_sys::UNIT_M,
Some(Unit::M2) => riot_sys::UNIT_M2,
Some(Unit::M3) => riot_sys::UNIT_M3,
Some(Unit::GForce) => riot_sys::UNIT_G,
Some(Unit::GForce) => riot_sys::UNIT_G_FORCE,
Some(Unit::Dps) => riot_sys::UNIT_DPS,
Some(Unit::Gram) => riot_sys::UNIT_GR,
Some(Unit::Gram) => riot_sys::UNIT_GRAM,
Some(Unit::A) => riot_sys::UNIT_A,
Some(Unit::V) => riot_sys::UNIT_V,
Some(Unit::W) => riot_sys::UNIT_W,
Some(Unit::Gauss) => riot_sys::UNIT_GS,
Some(Unit::Gauss) => riot_sys::UNIT_GAUSS,
Some(Unit::T) => riot_sys::UNIT_T,
Some(Unit::Dbm) => riot_sys::UNIT_DBM,
Some(Unit::Coulomb) => riot_sys::UNIT_COULOMB,
Expand Down

0 comments on commit 57dda8f

Please sign in to comment.