[realtek-ambz2] Fix C linkage for sys_now() in lwipopts (#286)

This commit is contained in:
shilga
2024-09-05 14:45:57 +02:00
committed by Kuba Szczodrzyński
parent 92351c0b92
commit 1769680d9e

View File

@@ -7,4 +7,11 @@
#define sys_now sys_now_dummy
#include_next "lwipopts.h"
#undef sys_now
#ifdef __cplusplus
extern "C" {
#endif
extern unsigned long sys_now(void);
#ifdef __cplusplus
}
#endif