Skip to content
Snippets Groups Projects
Commit 2dd83713 authored by schneider's avatar schneider
Browse files

mp: fix 32 bit overflow in systick_get_us

parent e2fb1faf
Branches
Tags
No related merge requests found
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
/* Target systick interval is 1 second */ /* Target systick interval is 1 second */
#define SYSTICK_INTERVAL_US \ #define SYSTICK_INTERVAL_US \
(SYSTICK_INTERVAL_US_MIN * (1000000 / SYSTICK_INTERVAL_US_MIN)) (SYSTICK_INTERVAL_US_MIN * (1000000LL / SYSTICK_INTERVAL_US_MIN))
/* /*
* Copied from core_cm4.h and modified to select the * Copied from core_cm4.h and modified to select the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment