Skip to content

Commit e027ad4

Browse files
committed
Merge branch 'master' of https://github.com/vedderb/bldc
2 parents d2f6d87 + 1655c11 commit e027ad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ void commands_process_packet(unsigned char *data, unsigned int len) {
329329
mcconf.cc_startup_boost_duty = (float)buffer_get_int32(data, &ind) / 1000000.0;
330330
mcconf.cc_min_current = (float)buffer_get_int32(data, &ind) / 1000.0;
331331
mcconf.cc_gain = (float)buffer_get_int32(data, &ind) / 1000000.0;
332-
mcconf.cc_ramp_step_max = buffer_get_float32(data, 1e5, &ind);
332+
mcconf.cc_ramp_step_max = buffer_get_float32(data, 1e6, &ind);
333333

334334
mcconf.m_fault_stop_time_ms = buffer_get_int32(data, &ind);
335335
mcconf.m_duty_ramp_step = (float)buffer_get_float32(data, 1000000.0, &ind);

0 commit comments

Comments
 (0)