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

This commit is contained in:
wanckl
2026-06-11 20:40:17 +08:00
parent ecb4123afd
commit 2fa05e2206
11 changed files with 23 additions and 11 deletions
@@ -38,6 +38,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