mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
DataFlash: correct repeated FMT logging bug
This commit is contained in:
parent
dcc4f69f7c
commit
4cb43b1c27
@ -52,7 +52,7 @@ public:
|
|||||||
virtual void ListAvailableLogs(AP_HAL::BetterStream *port) = 0;
|
virtual void ListAvailableLogs(AP_HAL::BetterStream *port) = 0;
|
||||||
|
|
||||||
void EnableWrites(bool enable) { _writes_enabled = enable; }
|
void EnableWrites(bool enable) { _writes_enabled = enable; }
|
||||||
bool logging_started(void) const { return log_write_started; }
|
virtual bool logging_started(void) const { return log_write_started; }
|
||||||
|
|
||||||
virtual void Init() {
|
virtual void Init() {
|
||||||
_writes_enabled = true;
|
_writes_enabled = true;
|
||||||
|
@ -32,7 +32,7 @@ public:
|
|||||||
// initialisation
|
// initialisation
|
||||||
void Init() override;
|
void Init() override;
|
||||||
|
|
||||||
bool logging_started() { return _logging_started; }
|
bool logging_started() const override { return _logging_started; }
|
||||||
|
|
||||||
void stop_logging();
|
void stop_logging();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user