From bf390b4a2f23867986fd41b8d40a146d8d2e05a6 Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 6 Feb 2018 18:35:49 +0000 Subject: [PATCH] Corrected test list argument errors --- pigpio.h | 2 +- x_pigpio.c | 2 +- x_pigpiod_if.c | 2 +- x_pigpiod_if2.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pigpio.h b/pigpio.h index d1cf3af..0fe80f6 100644 --- a/pigpio.h +++ b/pigpio.h @@ -31,7 +31,7 @@ For more information, please refer to #include #include -#define PIGPIO_VERSION 6509 +#define PIGPIO_VERSION 6511 /*TEXT diff --git a/x_pigpio.c b/x_pigpio.c index f983687..c252e0e 100644 --- a/x_pigpio.c +++ b/x_pigpio.c @@ -856,7 +856,7 @@ int main(int argc, char *argv[]) { int i, t, c, status; - char test[64]; + char test[64]={0,}; if (argc > 1) { diff --git a/x_pigpiod_if.c b/x_pigpiod_if.c index 94f2045..ae4d7a5 100644 --- a/x_pigpiod_if.c +++ b/x_pigpiod_if.c @@ -825,7 +825,7 @@ int main(int argc, char *argv[]) { int i, t, c, status; - char test[64]; + char test[64]={0,}; if (argc > 1) { diff --git a/x_pigpiod_if2.c b/x_pigpiod_if2.c index b5a6546..0494401 100644 --- a/x_pigpiod_if2.c +++ b/x_pigpiod_if2.c @@ -837,7 +837,7 @@ int main(int argc, char *argv[]) { int i, t, c, pi; - char test[64]; + char test[64]={0,}; if (argc > 1) {