mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-16 14:11:02 +00:00
Provide a default for SNMP_GET_SYSUPTIME() based on sys_now()
This commit is contained in:
parent
5c05d427b0
commit
d798abcb91
@ -73,7 +73,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef SNMP_GET_SYSUPTIME
|
||||
#define SNMP_GET_SYSUPTIME(sysuptime)
|
||||
#define SNMP_GET_SYSUPTIME(sysuptime) (sysuptime = (sys_now() / 10))
|
||||
#endif
|
||||
|
||||
static void system_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
|
||||
|
Loading…
Reference in New Issue
Block a user