cal_factor must be 1 when absent
This commit is contained in:
parent
f3e2e0181a
commit
8592ba94aa
|
|
@ -1364,7 +1364,7 @@ cCommandStream::CommandStatus cmdCalibrateScaleA(cCommandStream *pThis, void *pC
|
|||
|
||||
if (w1_gramm == "NA") {
|
||||
// scale a is not connected
|
||||
config_data.cal_w1_factor = 0.0;
|
||||
config_data.cal_w1_factor = 1.0;
|
||||
config_data.cal_w1_0 = NOT_ATTACHED;
|
||||
} else {
|
||||
setup_scales();
|
||||
|
|
@ -1386,7 +1386,7 @@ cCommandStream::CommandStatus cmdCalibrateScaleB(cCommandStream *pThis, void *pC
|
|||
|
||||
if (w2_gramm == "NA") {
|
||||
// scale b is not connected
|
||||
config_data.cal_w2_factor = 0.0;
|
||||
config_data.cal_w2_factor = 1.0;
|
||||
config_data.cal_w2_0 = NOT_ATTACHED;
|
||||
} else {
|
||||
setup_scales();
|
||||
|
|
|
|||
Loading…
Reference in New Issue