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
No related branches found
No related tags found
1 merge request!497mp: fix 32 bit overflow in systick_get_us
Pipeline #5337 passed
......@@ -26,7 +26,7 @@
/* Target systick interval is 1 second */
#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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment