type correction
This commit is contained in:
parent
1cf278e23e
commit
1e33f810cf
@ -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