mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
driver/mcpwm: fix the misleading of mcpwm_capture_enable parameters
closes https://github.com/espressif/esp-idf/issues/5032
This commit is contained in:
@@ -36,7 +36,7 @@ extern "C" {
|
||||
|
||||
/// Get the address of peripheral registers
|
||||
#define MCPWM_LL_GET_HW(ID) (((ID)==0)? &MCPWM0: &MCPWM1)
|
||||
|
||||
#define MCPWM_LL_MAX_PRESCALE 255
|
||||
|
||||
/********************* Global *******************/
|
||||
/**
|
||||
|
Reference in New Issue
Block a user