diff options
author | Ayke van Laethem <[email protected]> | 2022-09-19 19:46:38 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-09-25 12:38:12 +0200 |
commit | 107b1c29062a5d16a638e56b1e48a28ae28b960e (patch) | |
tree | dfc473cd2293bb60630e73885a873fa7637ec782 /src/machine/board_arduino_mkr1000.go | |
parent | 2409bbef698f433bd47618c837ea63fce9c79224 (diff) | |
download | tinygo-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.go | 2 |
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 ( |