aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/board_arduino_mkr1000.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-09-19 19:46:38 +0200
committerRon Evans <[email protected]>2022-09-25 12:38:12 +0200
commit107b1c29062a5d16a638e56b1e48a28ae28b960e (patch)
treedfc473cd2293bb60630e73885a873fa7637ec782 /src/machine/board_arduino_mkr1000.go
parent2409bbef698f433bd47618c837ea63fce9c79224 (diff)
downloadtinygo-107b1c29062a5d16a638e56b1e48a28ae28b960e.tar.gz
tinygo-107b1c29062a5d16a638e56b1e48a28ae28b960e.zip
machine: do not expose RESET_MAGIC_VALUE
This is a constant for internal use only, but was (unintentionally?) exported. In addition, it doesn't follow the Go naming convention. This change simply renames the constant so that it is unexported.
Diffstat (limited to 'src/machine/board_arduino_mkr1000.go')
-rw-r--r--src/machine/board_arduino_mkr1000.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/board_arduino_mkr1000.go b/src/machine/board_arduino_mkr1000.go
index 133cb5b89..1cb711621 100644
--- a/src/machine/board_arduino_mkr1000.go
+++ b/src/machine/board_arduino_mkr1000.go
@@ -7,7 +7,7 @@
package machine
// used to reset into bootloader
-const RESET_MAGIC_VALUE = 0x07738135
+const resetMagicValue = 0x07738135
// GPIO Pins
const (