mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(driver_twai): fixed twaifd slow bitrate trans faile on correct bitrate
This commit is contained in:
@@ -40,6 +40,7 @@ static uint32_t twai_ll_get_brp_max(void);
|
||||
#define TWAI_LL_BRP_MAX twai_ll_get_brp_max() // max brp of esp32 is depends on chip version
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user