Browse Source

#262

pull/270/head
mstroh76 4 months ago
parent
commit
0fab17c768
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      wiringPi/wiringPi.c

+ 1
- 0
wiringPi/wiringPi.c View File

@@ -1156,6 +1156,7 @@ void piBoardId (int *model, int *rev, int *mem, int *maker, int *warranty)
case PI_MODEL_4B:
case PI_MODEL_400:
case PI_MODEL_CM4:
case PI_MODEL_CM4S:
piGpioBase = GPIO_PERI_BASE_2711 ;
piGpioPupOffset = GPPUPPDN0 ;
break ;


Loading…
Cancel
Save