This commit is contained in:
Ayke van Laethem
2018-08-17 23:21:47 +02:00
parent 574c7ec047
commit 62c4c5e90b
19 changed files with 28 additions and 45 deletions
-1
View File
@@ -1,4 +1,3 @@
package machine
type GPIOConfig struct {
+1 -2
View File
@@ -1,4 +1,3 @@
// +build avr
package machine
@@ -10,7 +9,7 @@ import (
type GPIOMode uint8
const (
GPIO_INPUT = iota
GPIO_INPUT = iota
GPIO_OUTPUT
)
+1 -2
View File
@@ -1,4 +1,3 @@
// +build !avr,!nrf
package machine
@@ -8,7 +7,7 @@ package machine
type GPIOMode uint8
const (
GPIO_INPUT = iota
GPIO_INPUT = iota
GPIO_OUTPUT
)
-1
View File
@@ -1,4 +1,3 @@
// +build nrf
package machine