mirror of
https://github.com/kidoman/embd
synced 2025-07-03 11:57:38 +02:00
prefix host names with "Host"
This commit is contained in:
parent
6f8576873f
commit
3effbff471
3 changed files with 10 additions and 8 deletions
|
@ -15,9 +15,9 @@ func main() {
|
|||
var pinNo interface{}
|
||||
|
||||
switch h {
|
||||
case embd.BBB:
|
||||
case embd.HostBBB:
|
||||
pinNo = "P9_31"
|
||||
case embd.RPi:
|
||||
case embd.HostRPi:
|
||||
pinNo = 10
|
||||
default:
|
||||
panic("host not supported (yet :P)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue