diff --git a/gpio/gpio.c b/gpio/gpio.c index d453327..1cbfb61 100644 --- a/gpio/gpio.c +++ b/gpio/gpio.c @@ -5,7 +5,7 @@ * Copyright (c) 2012-2018 Gordon Henderson *********************************************************************** * This file is part of wiringPi: - * https://github.com/WiringPi/WiringPi/ + * https://github.com/nuncio-bitis/WiringPi/ * * wiringPi is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by @@ -52,19 +52,19 @@ extern void doQmode (int argc, char *argv[]); # define FALSE (1==2) #endif -#define PI_USB_POWER_CONTROL 38 -#define I2CDETECT "i2cdetect" -#define MODPROBE "modprobe" -#define RMMOD "rmmod" +#define PI_USB_POWER_CONTROL 38 +#define I2CDETECT "i2cdetect" +#define MODPROBE "modprobe" +#define RMMOD "rmmod" +// Intentionally global; also used in readall.c int wpMode; -char *usage = "Usage: gpio -v Show version info\n" - " gpio -h Show Help\n" -// " gpio -V Show gpio layout version (1.x)\n" - " gpio[-b|-p|-w] ... Use bcm-gpio/physical/WiringPi pin numbering scheme.\n" - " If none specified, BCM GPIO numbering is used by default.\n" - " [-x extension:params][[ -x ...]] ...\n" +char *usage = "Usage: gpio -v Show version info\n" + " gpio -h Show Help\n" + " gpio[-b|-p|-w] ... Use bcm-gpio/physical/WiringPi pin numbering scheme.\n" + " If none specified, BCM GPIO numbering is used by default.\n" + " [-x extension:params][[ -x ...]] ...\n" " gpio ...\n" " gpio \n" " gpio readall/allreadall\n" diff --git a/gpio/readall.c b/gpio/readall.c index 76835ca..f0f613b 100644 --- a/gpio/readall.c +++ b/gpio/readall.c @@ -4,7 +4,7 @@ * Copyright (c) 2012-2018 Gordon Henderson *********************************************************************** * This file is part of wiringPi: - * https://github.com/WiringPi/WiringPi/ + * https://github.com/nuncio-bitis/WiringPi/ * * wiringPi is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by diff --git a/wiringPi/wiringPi.c b/wiringPi/wiringPi.c index 22d0e2b..d026b7b 100644 --- a/wiringPi/wiringPi.c +++ b/wiringPi/wiringPi.c @@ -9,7 +9,7 @@ * the clock section /grr/mutter/ *********************************************************************** * This file is part of wiringPi: - * https://github.com/WiringPi/WiringPi + * https://github.com/nuncio-bitis/WiringPi * * wiringPi is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as @@ -296,6 +296,7 @@ static volatile int pinPass = -1; static pthread_mutex_t pinMutex; // Debugging & Return codes +// Intentionally global; also used in gpio.c int wiringPiDebug = FALSE; int wiringPiReturnCodes = TRUE; diff --git a/wiringPi/wiringPi.h b/wiringPi/wiringPi.h index 1400313..2f1efc6 100644 --- a/wiringPi/wiringPi.h +++ b/wiringPi/wiringPi.h @@ -4,7 +4,7 @@ * Copyright (c) 2012-2017 Gordon Henderson *********************************************************************** * This file is part of wiringPi: - * https://github.com/WiringPi/WiringPi/ + * https://github.com/nuncio-bitis/WiringPi/ * * wiringPi is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by