mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
logger: initialize logger_ptr with null
This commit is contained in:
parent
cfa491467e
commit
693703de1e
@ -143,7 +143,7 @@ private:
|
||||
uint32_t _log_interval;
|
||||
};
|
||||
|
||||
Logger *logger_ptr;
|
||||
Logger *logger_ptr = nullptr;
|
||||
int logger_task = -1;
|
||||
pthread_t _writer_thread;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user