1
Fork 0

remove unnecessary spaces

This commit is contained in:
Julian Gaal 2019-05-08 19:02:28 +02:00
parent 44a67e8fdd
commit b9dbcf8896

View file

@ -7,32 +7,26 @@ pub enum Registers {
SLAVE_ADDR = 0x68, SLAVE_ADDR = 0x68,
/// Internal register to check slave addr /// Internal register to check slave addr
WHOAMI = 0x75, WHOAMI = 0x75,
/// High Bytle Register Gyro x orientation /// High Bytle Register Gyro x orientation
GYRO_REGX_H = 0x43, GYRO_REGX_H = 0x43,
/// High Bytle Register Gyro y orientation /// High Bytle Register Gyro y orientation
GYRO_REGY_H = 0x45, GYRO_REGY_H = 0x45,
/// High Bytle Register Gyro z orientation /// High Bytle Register Gyro z orientation
GYRO_REGZ_H = 0x47, GYRO_REGZ_H = 0x47,
/// High Byte Register Calc roll /// High Byte Register Calc roll
ACC_REGX_H = 0x3b, ACC_REGX_H = 0x3b,
/// High Byte Register Calc pitch /// High Byte Register Calc pitch
ACC_REGY_H = 0x3d, ACC_REGY_H = 0x3d,
/// High Byte Register Calc yaw /// High Byte Register Calc yaw
ACC_REGZ_H = 0x3f, ACC_REGZ_H = 0x3f,
/// High Byte Register Temperature /// High Byte Register Temperature
TEMP_OUT_H = 0x41, TEMP_OUT_H = 0x41,
/// Register to control chip waking from sleep, enabling sensors, default: sleep /// Register to control chip waking from sleep, enabling sensors, default: sleep
POWER_MGMT_1 = 0x6b, POWER_MGMT_1 = 0x6b,
/// Internal clock /// Internal clock
POWER_MGMT_2 = 0x6c, POWER_MGMT_2 = 0x6c,
/// Accelerometer config register /// Accelerometer config register
ACCEL_CONFIG = 0x1c, ACCEL_CONFIG = 0x1c,
/// gyro config register /// gyro config register
GYRO_CONFIG = 0x1b, GYRO_CONFIG = 0x1b,
} }