mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 01:33:34 +08:00
pwm_out_sim: make sure g_pwm_sim is initialized with nullptr
This commit is contained in:
@@ -169,7 +169,7 @@ private:
|
||||
namespace
|
||||
{
|
||||
|
||||
PWMSim *g_pwm_sim;
|
||||
PWMSim *g_pwm_sim = nullptr;
|
||||
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user