type correction

This commit is contained in:
Robin Müller 2020-12-21 19:50:50 +01:00
parent 1cf278e23e
commit 1e33f810cf
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;