We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9645c9 commit 2ccc3ceCopy full SHA for 2ccc3ce
subsys/debug/cpu_load.c
@@ -16,7 +16,7 @@ BUILD_ASSERT(!IS_ENABLED(CONFIG_CPU_LOAD_USE_COUNTER) || DT_HAS_CHOSEN(zephyr_cp
16
#define CONFIG_CPU_LOAD_LOG_PERIODICALLY 0
17
#endif
18
19
-const struct device *counter = COND_CODE_1(CONFIG_CPU_LOAD_USE_COUNTER,
+static const struct device *counter = COND_CODE_1(CONFIG_CPU_LOAD_USE_COUNTER,
20
(DEVICE_DT_GET(DT_CHOSEN(zephyr_cpu_load_counter))), (NULL));
21
static uint32_t enter_ts;
22
static uint32_t cyc_start;
0 commit comments