Skip to content

Commit

Permalink
#15
Browse files Browse the repository at this point in the history
  • Loading branch information
mstroh76 committed Jan 27, 2024
1 parent 6d5108e commit f01ff41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wiringPi/wiringPi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ void piBoardId (int *model, int *rev, int *mem, int *maker, int *warranty)
else { *model = 0 ; *rev = 0 ; *mem = 0 ; *maker = 0 ; }
}

RaspberryPiModel = model;
RaspberryPiModel = *model;
}


Expand Down Expand Up @@ -2361,7 +2361,6 @@ int wiringPiSetup (void)
" hardware then it most certianly won't work\n"
" Try running with sudo?\n", strerror (errno)) ;
}
}

if (PI_MODEL_5 == model) {
return wiringPiFailure (WPI_ALMOST, "wiringPiSetup: Raspberry Pi 5 not supported.\n"
Expand Down

0 comments on commit f01ff41

Please sign in to comment.