fix(drivers): rename the nested extra_flags structure

This commit is contained in:
morris
2024-08-13 10:12:54 +08:00
parent 34b1f2da24
commit ec2a8a9c81
9 changed files with 19 additions and 19 deletions

View File

@@ -138,7 +138,7 @@ typedef struct {
uint32_t prescale; /*!< Prescale of input signal, effective frequency = cap_input_clk/prescale */
/// Extra configuration flags for capture channel
struct extra_flags {
struct extra_capture_channel_flags {
uint32_t pos_edge: 1; /*!< Whether to capture on positive edge */
uint32_t neg_edge: 1; /*!< Whether to capture on negative edge */
uint32_t pull_up: 1; /*!< Whether to pull up internally */