Skip to content

Commit 9b0f3bf

Browse files
TheRealZagowill-v-pi
authored andcommitted
Fixed linker error for lwIP PPP support (raspberrypi#2272) (raspberrypi#2278)
- Added `sys_jiffies` with weak linking for NO_SYS configuration
1 parent bfcd22f commit 9b0f3bf

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)