Skip to content

Commit 81a7bdc

Browse files
committed
critical - fix __STDC_LIMIT_MACROS for armcc
UINT32_MAX is defined only if __STDC_LIMIT_MACROS is provided prior including stdint.h
1 parent 3b2d75f commit 81a7bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hal/common/critical.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
18+
#define __STDC_LIMIT_MACROS
1919
#include <stdint.h>
2020
#include <stddef.h>
2121
#include "cmsis.h"

0 commit comments

Comments
 (0)