forked from Archive/PX4-Autopilot
sdlog2: lseek() workaround removed
This commit is contained in:
parent
2ee8214244
commit
c11e1ee0ab
|
@ -454,7 +454,6 @@ static void *logwriter_thread(void *arg)
|
|||
n = available;
|
||||
}
|
||||
|
||||
lseek(log_fd, 0, SEEK_CUR);
|
||||
n = write(log_fd, read_ptr, n);
|
||||
|
||||
should_wait = (n == available) && !is_part;
|
||||
|
|
Loading…
Reference in New Issue