We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9558427 commit 5f149cbCopy full SHA for 5f149cb
1 file changed
firmware/hw_layer/drivers/can/can_hw.cpp
@@ -329,6 +329,9 @@ int setCanBaud(size_t index, can_baudrate_e rate) {
329
// Actually stop HW
330
canStop(device);
331
332
+ // Give some time for HW to stop
333
+ chThdSleepMilliseconds(1);
334
+
335
// Get config for new baudrate
336
CANConfig canConfig;
337
memcpy(&canConfig, findCanConfig(rate), sizeof(canConfig));
0 commit comments