Pārlūkot izejas kodu

Fixed GPIO based address for Pi Zero-W

pull/62/head
Gordon Henderson pirms 7 gadiem
vecāks
revīzija
96344ff712
4 mainītis faili ar 8 papildinājumiem un 7 dzēšanām
  1. +1
    -1
      VERSION
  2. +1
    -1
      debian-template/wiringPi/DEBIAN/control
  3. +2
    -2
      version.h
  4. +4
    -3
      wiringPi/wiringPi.c

+ 1
- 1
VERSION Parādīt failu

@@ -1 +1 @@
2.42
2.44

+ 1
- 1
debian-template/wiringPi/DEBIAN/control Parādīt failu

@@ -1,5 +1,5 @@
Package: wiringpi
Version: 2.42
Version: 2.44
Section: libraries
Priority: optional
Architecture: armhf


+ 2
- 2
version.h Parādīt failu

@@ -1,3 +1,3 @@
#define VERSION "2.42"
#define VERSION "2.44"
#define VERSION_MAJOR 2
#define VERSION_MINOR 42
#define VERSION_MINOR 44

+ 4
- 3
wiringPi/wiringPi.c Parādīt failu

@@ -2187,9 +2187,10 @@ int wiringPiSetup (void)

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 ;



Notiek ielāde…
Atcelt
Saglabāt