mirror of
https://github.com/espressif/openthread.git
synced 2026-09-05 00:30:07 +00:00
[uptime] requires UPTIME feature to be enabled on FTD build (#9079)
This commit is contained in:
@@ -36,6 +36,10 @@
|
||||
|
||||
#include "openthread-core-config.h"
|
||||
|
||||
#if !OPENTHREAD_CONFIG_UPTIME_ENABLE && OPENTHREAD_FTD
|
||||
#error "OPENTHREAD_CONFIG_UPTIME_ENABLE is required for FTD"
|
||||
#endif
|
||||
|
||||
#if OPENTHREAD_CONFIG_UPTIME_ENABLE
|
||||
|
||||
#include "common/locator.hpp"
|
||||
|
||||
Reference in New Issue
Block a user