drivers: counter: mcux_gpt: Add count-up flag
The GPT based counter is a count up timer. This fixes counter_basic_api tests. Fix over 80 chars coding style issue. Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
This commit is contained in:
parent
1b45de8010
commit
90a42bbd45
1 changed files with 1 additions and 0 deletions
|
@ -208,6 +208,7 @@ static const struct counter_driver_api mcux_gpt_driver_api = {
|
|||
.max_top_value = UINT32_MAX, \
|
||||
.freq = 25000000, \
|
||||
.channels = 1, \
|
||||
.flags = COUNTER_CONFIG_INFO_COUNT_UP, \
|
||||
}, \
|
||||
}; \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue