1
0
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:
Karan Misra 2015-01-15 07:28:59 +05:30
parent 714179b86b
commit 69dfee5f75

View File

@ -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