Fixed linker error for lwIP PPP support (#2272) (#2278)

- Added `sys_jiffies` with weak linking for NO_SYS configuration
This commit is contained in:
Enrico Zaghini 2025-02-16 21:26:46 +01:00 committed by GitHub
parent f9d65a06ca
commit 04525b802e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,4 +71,8 @@ void sys_arch_unprotect(__unused sys_prot_t pval) {
uint32_t sys_now(void) {
return to_ms_since_boot(get_absolute_time());
}
__weak uint32_t sys_jiffies(void) {
return time_us_32();
}
#endif