Skip to content

Commit

Permalink
[realtek-ambz2] Fix C linkage for sys_now() in lwipopts (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
shilga authored Sep 5, 2024
1 parent f980f41 commit 963bc51
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cores/realtek-ambz2/base/config/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 963bc51

Please sign in to comment.