mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #16554 from fjmolinas/pr_atmega_usec_adjust
boards/atmega: add USEC_ADJUST values
This commit is contained in:
commit
bb86fb0a50
@ -42,6 +42,14 @@ extern "C" {
|
||||
#define XTIMER_BACKOFF (40)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name ztimer configuration values
|
||||
* @{
|
||||
*/
|
||||
#define CONFIG_ZTIMER_USEC_ADJUST_SET (128)
|
||||
#define CONFIG_ZTIMER_USEC_ADJUST_SLEEP (128)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name Macros for controlling the on-board LED
|
||||
* @{
|
||||
|
@ -113,6 +113,8 @@ extern "C" {
|
||||
#define CONFIG_ZTIMER_USEC_DEV (TIMER_DEV(0))
|
||||
#define CONFIG_ZTIMER_USEC_FREQ (250000LU)
|
||||
#define CONFIG_ZTIMER_USEC_WIDTH (16)
|
||||
#define CONFIG_ZTIMER_USEC_ADJUST_SET (124)
|
||||
#define CONFIG_ZTIMER_USEC_ADJUST_SLEEP (120)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user