mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 08:33:34 +08:00
clang-tidy modernize-use-nullptr
This commit is contained in:
@@ -414,7 +414,7 @@ MultirotorMixer::mix(float *outputs, unsigned space, uint16_t *status_reg)
|
||||
_delta_out_max = 0.0f;
|
||||
|
||||
// Notify saturation status
|
||||
if (status_reg != NULL) {
|
||||
if (status_reg != nullptr) {
|
||||
(*status_reg) = _saturation_status.value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user