Skip to content

Commit 80b77ed

Browse files
committed
Refactor CMSIS-RTOS2 adapter to be compliant with MISRA.
More cleanup of kernel for compliance with MISRA.
1 parent 2c1ccd4 commit 80b77ed

17 files changed

Lines changed: 1553 additions & 700 deletions

File tree

build/example/driver/defs.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@
1010
#ifndef DRIVER_DEFS_H_
1111
#define DRIVER_DEFS_H_
1212

13-
#include <stdbool.h>
14-
#include <stdint.h>
13+
#ifdef __cplusplus
14+
#include <cstdbool>
15+
#include <cstdint>
16+
#else
17+
#include <stdbool.h>
18+
#include <stdint.h>
19+
#endif
1520

1621
#ifdef __cplusplus
1722
#define STK_EXTERN extern "C"

0 commit comments

Comments
 (0)