sim: mark header that need to be as C header

This commit is contained in:
Reinhold Gschweicher
2023-05-01 22:18:24 +02:00
parent 8ae5ba7c0a
commit 7c2ea617f9
3 changed files with 22 additions and 6 deletions

View File

@@ -29,6 +29,10 @@
#ifndef PORTMACRO_CMSIS_H
#define PORTMACRO_CMSIS_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
typedef uint32_t TickType_t;
@@ -46,4 +50,8 @@ const NRF_RTC_Type portNRF_RTC_REG = 1;
void portYIELD_FROM_ISR(BaseType_t);
#ifdef __cplusplus
}
#endif
#endif /* PORTMACRO_CMSIS_H */