AP_Logger: must set default fd = -1

This commit is contained in:
xianglunkai 2022-04-15 16:54:56 +08:00 committed by Randy Mackay
parent ec2a33589c
commit be633c6dd8

View File

@ -549,7 +549,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;