[uptime] requires UPTIME feature to be enabled on FTD build (#9079)

This commit is contained in:
Abtin Keshavarzian
2023-05-23 12:36:18 -07:00
committed by GitHub
parent afe5041d07
commit b82cfddd68
+4
View File
@@ -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"