mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +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