Skip to content

Commit 18e9e80

Browse files
committed
Set max_quanta_per_bit back to 10 for H7 targets as well
1 parent 581f912 commit 18e9e80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/drivers/dronecan/libcanard/canard_stm32h7xx_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ static bool canardSTM32ComputeTimings(const uint32_t target_bitrate, struct Timi
330330
* 250 kbps 16 17
331331
* 125 kbps 16 17
332332
*/
333-
const int max_quanta_per_bit = 18; //(target_bitrate >= 1000000) ? 10 : 17;
333+
const int max_quanta_per_bit = (target_bitrate >= 1000000) ? 10 : 17;
334334

335335
static const int MaxSamplePointLocation = 900;
336336

0 commit comments

Comments
 (0)