Skip to content

Commit

Permalink
Wait a bit longer for can detection result
Browse files Browse the repository at this point in the history
  • Loading branch information
vedderb committed Nov 6, 2022
1 parent 1f8c59f commit 2b7e323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf_general.c
Original file line number Diff line number Diff line change
Expand Up @@ -1946,7 +1946,7 @@ int conf_general_detect_apply_all_foc_can(bool detect_can, float max_power_loss,

// Wait for all VESCs on the CAN-bus to finish detection
int timeout = true;
for (int i = 0;i < 4000;i++) {
for (int i = 0;i < 18000;i++) {
if (comm_can_detect_all_foc_res_size() >= can_devs) {
timeout = false;
break;
Expand Down

0 comments on commit 2b7e323

Please sign in to comment.