aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/systick.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/systick.h')
-rw-r--r--libmaple/systick.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmaple/systick.h b/libmaple/systick.h
index 61789c4..79861be 100644
--- a/libmaple/systick.h
+++ b/libmaple/systick.h
@@ -50,8 +50,8 @@ extern "C"{
void systick_init(void);
-static inline uint32_t systick_get_count(void) {
- return (uint32_t)*(volatile uint32*)SYSTICK_CNT;
+static inline uint32 systick_get_count(void) {
+ return (uint32)*(volatile uint32*)SYSTICK_CNT;
}
#ifdef __cplusplus