i broke it
This commit is contained in:
@@ -3,12 +3,14 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define SYSTICK_ONE_MILLISECOND ((uint32_t)FUNCONF_SYSTEM_CORE_CLOCK / 1000)
|
||||
#define TIMER_DELAY 1000
|
||||
#define SYSTICK_ONE_MILLISECOND \
|
||||
(uint32_t)(FUNCONF_SYSTEM_CORE_CLOCK / TIMER_DELAY)
|
||||
#define millis() (systick_millis)
|
||||
|
||||
void systick_init(void);
|
||||
void init_systick(void);
|
||||
|
||||
// ms counter incremented by SysTick
|
||||
extern volatile uint32_t systick_millis;
|
||||
// extern volatile uint32_t systick_millis;
|
||||
|
||||
#endif // SYSTICK_H
|
||||
|
||||
Reference in New Issue
Block a user