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.
This commit is contained in:
Ayke van Laethem
2022-09-19 19:46:38 +02:00
committed by Ron Evans
parent 2409bbef69
commit 107b1c2906
24 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
package machine
// used to reset into bootloader
const RESET_MAGIC_VALUE = 0x07738135
const resetMagicValue = 0x07738135
// Note: On the P1AM-100, pins D8, D9, D10, A3, and A4 are used for
// communication with the base controller.