drivers: timer: improve sys_timer_disable usage
- Remove the weak symbol definition - Notify about the capability of disabling via a selected Kconfig option (CONFIG_SYSTEM_TIMER_HAS_DISABLE_SUPPORT) - Provide a dummy inline function when the functionality is not available Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
24a169e329
commit
78dc8ce338
10 changed files with 28 additions and 20 deletions
|
@ -9,6 +9,7 @@ config NATIVE_POSIX_TIMER
|
|||
depends on BOARD_NATIVE_POSIX
|
||||
select TICKLESS_CAPABLE
|
||||
select TIMER_HAS_64BIT_CYCLE_COUNTER
|
||||
select SYSTEM_TIMER_HAS_DISABLE_SUPPORT
|
||||
help
|
||||
This module implements a kernel device driver for the native_posix HW timer
|
||||
model
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue