Gordons Projects

--> Projects Top-Level GIT

Fixed GPIO based address for Pi Zero-W
authorGordon Henderson <projects@drogon.net>
Fri, 3 Mar 2017 15:56:24 +0000 (15:56 +0000)
committerGordon Henderson <projects@drogon.net>
Fri, 3 Mar 2017 15:56:24 +0000 (15:56 +0000)
VERSION
debian-template/wiringPi/DEBIAN/control
version.h
wiringPi/wiringPi.c

diff --git a/VERSION b/VERSION
index 2a43146..f454b81 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.42
+2.44
index 73359aa..ad7d0e1 100644 (file)
@@ -1,5 +1,5 @@
 Package: wiringpi
 Package: wiringpi
-Version: 2.42
+Version: 2.44
 Section: libraries
 Priority: optional
 Architecture: armhf
 Section: libraries
 Priority: optional
 Architecture: armhf
index b556f91..45b2c50 100644 (file)
--- a/version.h
+++ b/version.h
@@ -1,3 +1,3 @@
-#define VERSION "2.42"
+#define VERSION "2.44"
 #define VERSION_MAJOR 2
 #define VERSION_MAJOR 2
-#define VERSION_MINOR 42
+#define VERSION_MINOR 44
index a8f5963..bd1a369 100644 (file)
@@ -2187,9 +2187,10 @@ int wiringPiSetup (void)
 
   switch (model)
   {
 
   switch (model)
   {
-    case PI_MODEL_A:  case PI_MODEL_B:
-    case PI_MODEL_AP: case PI_MODEL_BP:
-    case PI_ALPHA:    case PI_MODEL_CM: case PI_MODEL_ZERO:
+    case PI_MODEL_A:   case PI_MODEL_B:
+    case PI_MODEL_AP:  case PI_MODEL_BP:
+    case PI_ALPHA:     case PI_MODEL_CM:
+    case PI_MODEL_ZERO:        case PI_MODEL_ZERO_W:
       piGpioBase = GPIO_PERI_BASE_OLD ;
       break ;
 
       piGpioBase = GPIO_PERI_BASE_OLD ;
       break ;