Provide a default for SNMP_GET_SYSUPTIME() based on sys_now()

This commit is contained in:
goldsimon 2011-06-26 16:50:28 +00:00 committed by goldsimon
parent 5c05d427b0
commit d798abcb91

View File

@ -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);