mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 09:57:47 +00:00
[config] define uptime feature for MTDs (#11192)
MTDs built out of the OpenThread stack fail 1.4 network diagnostics test cases that track connection time and role time in MLE counter TLVs. We can workaround manually defining UPTIME for MTDs, but it's better to make it the default behavior.
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
* Define to 1 to enable tracking the uptime of OpenThread instance.
|
||||
*/
|
||||
#ifndef OPENTHREAD_CONFIG_UPTIME_ENABLE
|
||||
#define OPENTHREAD_CONFIG_UPTIME_ENABLE OPENTHREAD_FTD
|
||||
#define OPENTHREAD_CONFIG_UPTIME_ENABLE (OPENTHREAD_FTD || OPENTHREAD_MTD)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user