mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 14:33:41 +00:00
machine: split board definitions in separate files
This commit is contained in:
@@ -25,10 +25,6 @@ const (
|
||||
portG
|
||||
)
|
||||
|
||||
const (
|
||||
LED = portC + 13
|
||||
)
|
||||
|
||||
func (p GPIO) getPort() *stm32.GPIO_Type {
|
||||
switch p.Pin / 16 {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user