type correction

This commit is contained in:
Robin Müller 2020-12-21 19:50:50 +01:00 committed by Robin Mueller
parent 93971ad1c9
commit 4364ef18f3
2 changed files with 11 additions and 2 deletions

View File

@ -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;
}
}
}

View File

@ -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;