mirror of
https://github.com/kidoman/embd
synced 2024-11-12 20:48:55 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
4b280c5b45
@ -124,7 +124,7 @@ func DetectHost() (host Host, rev int, err error) {
|
||||
switch {
|
||||
case strings.Contains(model, "ARMv7") && (strings.Contains(hardware, "AM33XX") || strings.Contains(hardware, "AM335X")):
|
||||
return HostBBB, rev, nil
|
||||
case strings.Contains(hardware, "BCM2708") || strings.Contains(hardware, "BCM2709"):
|
||||
case strings.Contains(hardware, "BCM2708") || strings.Contains(hardware, "BCM2709") || strings.Contains(hardware, "BCM2835"):
|
||||
return HostRPi, rev, nil
|
||||
case hardware == "Allwinner sun4i/sun5i Families":
|
||||
if major < 4 || (major == 4 && minor < 4) {
|
||||
|
Loading…
Reference in New Issue
Block a user