fix(driver_twai): fixed twaifd slow bitrate trans faile on correct bitrate

This commit is contained in:
wanckl
2026-06-26 18:35:09 +08:00
parent 37b431a882
commit f4cf285425
10 changed files with 22 additions and 11 deletions
@@ -36,6 +36,7 @@ extern "C" {
#define TWAI_LL_BRP_MAX 32768
#define TWAI_LL_TSEG1_MIN 1
#define TWAI_LL_TSEG2_MIN 1
#define TWAI_LL_PROP_MAX 0 //hardware don't support prop_seg
#define TWAI_LL_TSEG1_MAX 16 //the max register value
#define TWAI_LL_TSEG2_MAX 8
#define TWAI_LL_SJW_MAX 4