MGM: small tweak, gain factor was always them same #724

Merged
gaisser merged 3 commits from eive/fsfw:mgm_handler_small_fix into development 2023-02-06 14:36:35 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 3656662d88 - Show all commits

View File

@ -329,8 +329,8 @@ ReturnValue_t MgmRM3100Handler::handleDataReadout(const uint8_t *packet) {
// Now scale to physical value in microtesla
float fieldStrengthX = fieldStrengthRawX * scaleFactorX;
float fieldStrengthY = fieldStrengthRawY * scaleFactorX;
float fieldStrengthZ = fieldStrengthRawZ * scaleFactorX;
float fieldStrengthY = fieldStrengthRawY * scaleFactorY;
float fieldStrengthZ = fieldStrengthRawZ * scaleFactorZ;
if (periodicPrintout) {
if (debugDivider.checkAndIncrement()) {