sensor cannot be null because it is initialized with DEVICE_DT_GET_ONE,
which always resolves to a device. The deleted check triggered a
compiler warning ("warning: the address of '__device_dts_ord_23' will
never be NULL").
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
|
||
|---|---|---|
| .. | ||
| hello_world | ||
| magic_wand | ||
| tflm_ethosu | ||