We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ed783 commit 1be2f11Copy full SHA for 1be2f11
applications/clime/src/app_iaq.c
@@ -6,6 +6,7 @@
6
7
#include "app_config.h"
8
#include "app_data.h"
9
+#include "app_iaq.h"
10
11
/* CHESTER includes */
12
#include <chester/drivers/ctr_s1.h>
@@ -26,6 +27,8 @@
26
27
28
LOG_MODULE_REGISTER(app_iaq, LOG_LEVEL_DBG);
29
30
+#if defined(CONFIG_SHIELD_CTR_S1)
31
+
32
static const struct device *dev_s1 = DEVICE_DT_GET(DT_NODELABEL(ctr_s1));
33
34
enum iaq_led_state {
@@ -182,3 +185,5 @@ int app_iaq_led_task(void)
182
185
183
186
return 0;
184
187
}
188
189
+#endif /* defined(CONFIG_SHIELD_CTR_S1) */
0 commit comments