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>
|
||
|---|---|---|
| .. | ||
| accelerometer_handler.cpp | ||
| accelerometer_handler.hpp | ||
| assert.cpp | ||
| constants.hpp | ||
| gesture_predictor.cpp | ||
| gesture_predictor.hpp | ||
| magic_wand_model_data.cpp | ||
| magic_wand_model_data.hpp | ||
| main_functions.cpp | ||
| main_functions.hpp | ||
| main.cpp | ||
| output_handler.cpp | ||
| output_handler.hpp | ||