mirror of
https://github.com/kidoman/embd
synced 2025-01-03 10:31:36 +01:00
rpi: add link to revision number details
This commit is contained in:
parent
714179b86b
commit
69dfee5f75
@ -74,6 +74,8 @@ var ledMap = embd.LEDMap{
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
embd.Register(embd.HostRPi, func(rev int) *embd.Descriptor {
|
embd.Register(embd.HostRPi, func(rev int) *embd.Descriptor {
|
||||||
|
// Refer to http://elinux.org/RPi_HardwareHistory#Board_Revision_History
|
||||||
|
// for details.
|
||||||
pins := rev3Pins
|
pins := rev3Pins
|
||||||
if rev < 16 {
|
if rev < 16 {
|
||||||
pins = rev2Pins
|
pins = rev2Pins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user