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:
Loic Poulain 2019-12-18 10:06:52 +01:00 committed by Maureen Helm
commit 90a42bbd45

View file

@ -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, \
}, \
}; \
\