fix(drivers): rename the nested extra_flags structure

This commit is contained in:
morris
2024-08-14 10:45:47 +08:00
parent 3358b3073b
commit d54f5cdb43
8 changed files with 18 additions and 18 deletions
@@ -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 */