forked from Archive/PX4-Autopilot
Ensured correct pointer init
This commit is contained in:
parent
a8ac56b9e5
commit
0f19de5311
|
@ -391,7 +391,7 @@ namespace sensors
|
|||
#endif
|
||||
static const int ERROR = -1;
|
||||
|
||||
Sensors *g_sensors;
|
||||
Sensors *g_sensors = nullptr;
|
||||
}
|
||||
|
||||
Sensors::Sensors() :
|
||||
|
|
Loading…
Reference in New Issue