type correction
This commit is contained in:
parent
93971ad1c9
commit
4364ef18f3
@ -23,7 +23,16 @@ void MGMHandlerRM3100::doStartUp() {
|
||||
|
||||
switch(internalState) {
|
||||
case(STATE_CONFIGURE_CMM): {
|
||||
|
||||
break;
|
||||
}
|
||||
case(STATE_READ_CMM): {
|
||||
break;
|
||||
}
|
||||
case(STATE_CONFIGURE_TMRC): {
|
||||
break;
|
||||
}
|
||||
case(STATE_READ_TMRC): {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ static constexpr uint8_t STATUS_REGISTER = 0x34;
|
||||
static constexpr uint8_t REVID_REGISTER = 0x36;
|
||||
|
||||
// Range in Microtesla. 1 T equals 10000 Gauss (for comparison with LIS3 MGM)
|
||||
static constexpr uint8_t RANGE = 800;
|
||||
static constexpr uint16_t RANGE = 800;
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user