diff options
Diffstat (limited to 'wirish')
-rw-r--r-- | wirish/include/wirish/boards.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wirish/include/wirish/boards.h b/wirish/include/wirish/boards.h index 1375512..73d5509 100644 --- a/wirish/include/wirish/boards.h +++ b/wirish/include/wirish/boards.h @@ -113,6 +113,9 @@ bool boardUsesPin(uint8 pin); /* Set derived definitions */ #define CLOCK_SPEED_MHZ CYCLES_PER_MICROSECOND #define CLOCK_SPEED_HZ (CLOCK_SPEED_MHZ * 1000000UL) +#ifndef SYSTICK_RELOAD_VAL +#define SYSTICK_RELOAD_VAL (1000 * CYCLES_PER_MICROSECOND - 1) +#endif /** * @brief Does the board break out a USART/UART's RX and TX pins? |