Skip to content

Commit

Permalink
Merge pull request #20573 from maribu/boards/waspmote-pro
Browse files Browse the repository at this point in the history
boards/waspmote-pro: fix ztimer config
  • Loading branch information
maribu committed Apr 30, 2024
2 parents 3783bb1 + 162bb6e commit a620a3c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions boards/waspmote-pro/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ extern "C" {
* @name ztimer configuration values
* @{
*/
#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER
#define CONFIG_ZTIMER_USEC_DEV (TIMER_DEV(0))
#define CONFIG_ZTIMER_USEC_FREQ (230400LU)
#define CONFIG_ZTIMER_USEC_WIDTH (16)
#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER /**< Use periph_timer for ZTIMER_USEC */

Check warning on line 177 in boards/waspmote-pro/include/board.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
#define CONFIG_ZTIMER_USEC_DEV (TIMER_DEV(0)) /**< Use TIMER_DEV(0) for ZTIMER_USEC */

Check warning on line 178 in boards/waspmote-pro/include/board.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
#define CONFIG_ZTIMER_USEC_BASE_FREQ (230400LU) /**< Run timer for ZTIMER_USEC at 230,400 Hz */

Check warning on line 179 in boards/waspmote-pro/include/board.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
#define CONFIG_ZTIMER_USEC_WIDTH (16) /**< TIMER_DEV(0) is 16 bit wide */

Check warning on line 180 in boards/waspmote-pro/include/board.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
/** @} */

/**
Expand Down

0 comments on commit a620a3c

Please sign in to comment.