gmc-mh-1x-2x: Fixed 300 µA range scaling.
This commit is contained in:
parent
0bc3ab92e6
commit
c6c63b08af
|
@ -132,7 +132,7 @@ static void decode_rs_16(uint8_t rs, struct dev_context *devc)
|
|||
if (devc->mq == SR_MQ_VOLTAGE) /* V */
|
||||
devc->scale *= 0.1;
|
||||
else if (devc->mq == SR_MQ_CURRENT) /* 000.0 µA */
|
||||
devc->scale *= 0.0000001; /* Untested! */
|
||||
devc->scale *= 0.00001;
|
||||
else if (devc->mq == SR_MQ_RESISTANCE) {
|
||||
if (devc->buflen >= 10) {
|
||||
/* °C with 10 byte msg type, otherwise GOhm. */
|
||||
|
|
Loading…
Reference in New Issue