Skip to content

Commit d2a996b

Browse files
committed
Fixed linker error for lwIP PPP support (#2272)
- Added `sys_jiffies` with weak linking for NO_SYS configuration
1 parent f9d65a0 commit d2a996b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/rp2_common/pico_lwip/lwip_nosys.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,8 @@ void sys_arch_unprotect(__unused sys_prot_t pval) {
7171
uint32_t sys_now(void) {
7272
return to_ms_since_boot(get_absolute_time());
7373
}
74+
75+
__weak uint32_t sys_jiffies(void) {
76+
return time_us_32();
77+
}
7478
#endif

0 commit comments

Comments
 (0)