Skip to content

Commit

Permalink
Update link to Raspberry Pi revision code documentation
Browse files Browse the repository at this point in the history
The old link to Raspberry Pi's revision code documentation went stale,
so we update it with the currently working URL.
  • Loading branch information
Christian Aistleitner committed Jul 1, 2023
1 parent a3eea99 commit 73dedf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gpio.cc
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ static RaspberryPiModel DetermineRaspberryModel() {
return PI_MODEL_3;
}

// https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
// https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-revision-codes
const unsigned pi_type = (pi_revision >> 4) & 0xff;
switch (pi_type) {
case 0x00: /* A */
Expand Down

0 comments on commit 73dedf7

Please sign in to comment.