Skip to content

Commit

Permalink
saul: Complete G* renaming
Browse files Browse the repository at this point in the history
Merges: #51
  • Loading branch information
chrysn committed Oct 20, 2023
2 parents 7f8fe37 + 57dda8f commit a366d14
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 @@ -416,13 +416,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 @@ -456,13 +456,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 a366d14

Please sign in to comment.