Browse Source

AP_Logger: must set default fd = -1

apm_2208
xianglunkai 3 years ago committed by Andrew Tridgell
parent
commit
f7f053191a
  1. 2
      libraries/AP_Logger/AP_Logger.h

2
libraries/AP_Logger/AP_Logger.h

@ -528,7 +528,7 @@ private: @@ -528,7 +528,7 @@ private:
void reset();
void remove_and_free(file_list *victim);
struct file_list *head, *tail;
int fd;
int fd{-1};
uint32_t offset;
bool fast;
uint8_t counter;

Loading…
Cancel
Save