mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
logger: initialize logger_ptr with null
This commit is contained in:
1 parent
cfa491467e
commit
693703de1e
1 file changed
+1
-1
@@ -143,7 +143,7 @@ private:
|
||||
uint32_t _log_interval;
|
||||
};
|
||||
|
||||
Logger *logger_ptr;
|
||||
Logger *logger_ptr = nullptr;
|
||||
int logger_task = -1;
|
||||
pthread_t _writer_thread;
|
||||
|
||||
|
||||
Reference in new issue
Block a user