refactor logger: use static fields & move them to source file

avoids multiple declarations of...
This commit is contained in:
Beat Küng
2016-06-02 07:32:49 +02:00
committed by Lorenz Meier
parent 43d734ef43
commit 659ac8faf2
2 changed files with 9 additions and 8 deletions
+3 -6
View File
@@ -203,11 +203,8 @@ private:
param_t _log_utc_offset;
orb_advert_t _mavlink_log_pub = nullptr;
uint16_t _next_topic_id; ///< id of next subscribed topic
};
Logger *logger_ptr = nullptr;
int logger_task = -1;
pthread_t _writer_thread;
}
}
} //namespace logger
} //namespace px4