Fixed typo in previous commit

This commit is contained in:
Benjamin Vedder 2020-03-26 13:51:20 +01:00
parent 5e93fa9f81
commit 731ac70e55
1 changed files with 1 additions and 1 deletions

View File

@ -793,7 +793,7 @@ void commands_process_packet(unsigned char *data, unsigned int len,
// Battery limits can be set optionally in a backwards-compatible way.
if ((int32_t)len >= (ind + 8)) {
mcconf.l_in_current_min = buffer_get_float32_auto(data, &ind);
mcconf.l_in_current_min = buffer_get_float32_auto(data, &ind);
mcconf.l_in_current_max = buffer_get_float32_auto(data, &ind);
}
mcconf.lo_current_min = mcconf.l_current_min * mcconf.l_current_min_scale;