Skip to content

Commit

Permalink
Add separator for long literals
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed Mar 27, 2021
1 parent 4bcf581 commit 73f6fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use embedded_hal::{
digital::v2::OutputPin,
};

pub(crate) const ACCEL_ADDR: u8 = 0b0011001;
pub(crate) const MAG_ADDR: u8 = 0b0011110;
pub(crate) const ACCEL_ADDR: u8 = 0b001_1001;
pub(crate) const MAG_ADDR: u8 = 0b001_1110;

/// I2C interface
#[derive(Debug)]
Expand Down

0 comments on commit 73f6fe1

Please sign in to comment.