mirror of
https://github.com/kidoman/embd
synced 2024-12-22 12:50:19 +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() {
|
||||
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…
x
Reference in New Issue
Block a user