mirror of
https://github.com/kidoman/embd
synced 2025-07-03 03:47:33 +02:00
rpi: add link to revision number details
This commit is contained in:
parent
714179b86b
commit
69dfee5f75
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ var ledMap = embd.LEDMap{
|
|||
|
||||
func init() {
|
||||
embd.Register(embd.HostRPi, func(rev int) *embd.Descriptor {
|
||||
// Refer to http://elinux.org/RPi_HardwareHistory#Board_Revision_History
|
||||
// for details.
|
||||
pins := rev3Pins
|
||||
if rev < 16 {
|
||||
pins = rev2Pins
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue