We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 972bcfc + 4ef1f23 commit ec7c21bCopy full SHA for ec7c21b
samples/tmo_shell/src/misc_test.c
@@ -162,6 +162,7 @@ int misc_test()
162
}
163
164
if (strcmp(CONFIG_BOARD, "tmo_dev_edge") == 0) {
165
+#if DT_NODE_EXISTS(DT_NODELABEL(lc709204f))
166
/* Check for presence of On Semi LC709204F fuel gauge
167
* (battery must be present for this to pass)
168
*/
@@ -171,6 +172,7 @@ int misc_test()
171
172
} else {
173
printf("i2c read " I2C_1 "0xb 0x15 2 - LC709204F fuel gauge - shell command was successful\n");
174
175
+#endif
176
177
/* Scan the secondary I2C bus (I2C_0) */
178
if ((ret = shell_execute_cmd(shell_backend_uart_get_ptr(), "i2c scan " I2C_0)) != 0) {
0 commit comments