diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-03-07 23:14:39 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-03-07 23:14:39 +0400 |
commit | c11e1ee0ab8579826ed73b1f596e0535156bbce4 (patch) | |
tree | ff605accb6029d8c9bdcd6dc970119ce839b5769 /src/modules/sdlog2 | |
parent | 2ee8214244efbe09981e71ea194573daa1c2f5bc (diff) | |
download | px4-firmware-c11e1ee0ab8579826ed73b1f596e0535156bbce4.tar.gz px4-firmware-c11e1ee0ab8579826ed73b1f596e0535156bbce4.tar.bz2 px4-firmware-c11e1ee0ab8579826ed73b1f596e0535156bbce4.zip |
sdlog2: lseek() workaround removed
Diffstat (limited to 'src/modules/sdlog2')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index d784ecc4f..200d70e93 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -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; |