mirror of https://github.com/rusefi/bldc.git
Fixed typo in previous commit
This commit is contained in:
parent
5e93fa9f81
commit
731ac70e55
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue