Skip to content

Commit

Permalink
Handle address as const value and make it public
Browse files Browse the repository at this point in the history
  • Loading branch information
asukiaaa committed Oct 31, 2020
1 parent d0d5cf0 commit 787a489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MPU9250_asukiaaa.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

class MPU9250_asukiaaa {
public:
const uint8_t address;
int16_t magXOffset, magYOffset, magZOffset;
uint8_t accelBuff[MPU9250_BUFF_LEN_ACCEL];
uint8_t gyroBuff[MPU9250_BUFF_LEN_GYRO];
Expand Down Expand Up @@ -62,7 +63,6 @@ class MPU9250_asukiaaa {

private:
TwoWire* myWire;
uint8_t address;
float accelRange;
float gyroRange;
uint8_t magXAdjust, magYAdjust, magZAdjust;
Expand Down

0 comments on commit 787a489

Please sign in to comment.