diff options
author | pablololo12 <pabloheralm@gmail.com> | 2019-01-28 13:34:56 +0100 |
---|---|---|
committer | setrofim <setrofim@gmail.com> | 2019-02-04 09:46:13 +0000 |
commit | 7cd7b73f589f7b26239c8bc635b45f0efe871a69 (patch) | |
tree | 7730727967686129f238c1fd95cf076327052c15 | |
parent | 4a9a2ad105b385c8ff7c7ae7eaf96d923ec65cd5 (diff) |
Fixed an error emptying the reading buffer of the poller
Fixed identation
Fixed identation
-rwxr-xr-x | wa/instruments/poller/bin/arm64/poller | bin | 4804744 -> 125944 bytes | |||
-rwxr-xr-x | wa/instruments/poller/bin/armeabi/poller | bin | 4039004 -> 66128 bytes | |||
-rw-r--r-- | wa/instruments/poller/poller.c | 2 |
3 files changed, 1 insertions, 1 deletions
diff --git a/wa/instruments/poller/bin/arm64/poller b/wa/instruments/poller/bin/arm64/poller Binary files differindex b06c54dd..d64ddc41 100755 --- a/wa/instruments/poller/bin/arm64/poller +++ b/wa/instruments/poller/bin/arm64/poller diff --git a/wa/instruments/poller/bin/armeabi/poller b/wa/instruments/poller/bin/armeabi/poller Binary files differindex 2808007f..8a9e0c4d 100755 --- a/wa/instruments/poller/bin/armeabi/poller +++ b/wa/instruments/poller/bin/armeabi/poller diff --git a/wa/instruments/poller/poller.c b/wa/instruments/poller/poller.c index 08400754..85df4c6f 100644 --- a/wa/instruments/poller/poller.c +++ b/wa/instruments/poller/poller.c @@ -196,7 +196,7 @@ int main(int argc, char ** argv) { strip(buf); printf(",%s", buf); - buf[0] = '\0'; // "Empty" buffer + memset(buf, 0, sizeof(buf)); // "Empty" buffer } printf("\n"); usleep(interval); |