mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
Merge pull request #17605 from benpicco/drivers/dose-include
drivers/dose: include board.h
This commit is contained in:
commit
8db513a8f6
@ -21,6 +21,7 @@
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "board.h"
|
||||
#include "dose.h"
|
||||
#include "random.h"
|
||||
#include "irq.h"
|
||||
@ -33,6 +34,10 @@
|
||||
#define ENABLE_DEBUG 0
|
||||
#include "debug.h"
|
||||
|
||||
#if !defined(DOSE_TIMER_DEV) && IS_ACTIVE(MODULE_DOSE_WATCHDOG)
|
||||
#error "DOSE_TIMER_DEV needs to be set by the board"
|
||||
#endif
|
||||
|
||||
static uint16_t crc16_update(uint16_t crc, uint8_t octet);
|
||||
static dose_signal_t state_transit_blocked(dose_t *ctx, dose_signal_t signal);
|
||||
static dose_signal_t state_transit_idle(dose_t *ctx, dose_signal_t signal);
|
||||
|
@ -170,8 +170,6 @@ typedef enum {
|
||||
*/
|
||||
#if DOXYGEN
|
||||
#define DOSE_TIMER_DEV TIMER_DEV(…)
|
||||
#elif !defined(DOSE_TIMER_DEV) && IS_ACTIVE(MODULE_DOSE_WATCHDOG)
|
||||
#error "DOSE_TIMER_DEV needs to be set by the board"
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user