Skip to content

Commit bad8944

Browse files
JordanYateshenrikbrixandersen
authored andcommitted
HAL: eoss3_dev: add missing __cplusplus handling
Close out the `extern "C"` definition at the top of the file when C++ is enabled. Signed-off-by: Jordan Yates <jordan@embeint.com>
1 parent ba7e35f commit bad8944

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

HAL/inc/eoss3_dev.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2463,5 +2463,9 @@ typedef struct
24632463
#define REBOOT_CAUSE (0xF)
24642464
#define REBOOT_STATUS_REG (PMU->MISC_POR_3)
24652465

2466+
#ifdef __cplusplus
2467+
}
2468+
#endif /* __cplusplus */
2469+
24662470
#endif /* __EOSS3_DEV_H */
24672471

0 commit comments

Comments
 (0)