ASSERT: remove some inappropriate asserts
Since assertions lead to crashes, we need better failure handling. In all the cases in this patch, the assert is not required. All the ones with the task id should be replaced with the module base class. Ah yes, and this reduces flash space, since the ASSERT macro will expand to a printf that contains the source file name.
Showing
- src/drivers/px4io/px4io.cpp 0 additions, 2 deletionssrc/drivers/px4io/px4io.cpp
- src/modules/camera_feedback/camera_feedback.cpp 0 additions, 2 deletionssrc/modules/camera_feedback/camera_feedback.cpp
- src/modules/events/temperature_calibration/task.cpp 0 additions, 1 deletionsrc/modules/events/temperature_calibration/task.cpp
- src/modules/mc_pos_control/mc_pos_control_main.cpp 0 additions, 2 deletionssrc/modules/mc_pos_control/mc_pos_control_main.cpp
- src/modules/uORB/uORBManager.cpp 0 additions, 1 deletionsrc/modules/uORB/uORBManager.cpp
- src/modules/vtol_att_control/vtol_att_control_main.cpp 0 additions, 2 deletionssrc/modules/vtol_att_control/vtol_att_control_main.cpp
Loading
Please register or sign in to comment