1
0
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:
Francisco 2021-06-16 08:56:11 +02:00 committed by GitHub
commit bb86fb0a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -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
* @{

View File

@ -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)
/** @} */
/**