aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cart_Reader/SUPRACAN.ino
diff options
context:
space:
mode:
authorsanni <[email protected]>2023-06-26 12:04:00 +0200
committersanni <[email protected]>2023-06-26 12:04:00 +0200
commitdee54dd30e2f95392b7152b00bced4687553f6ce (patch)
tree248607507b726dc5a1fa3af1a90bc5a3add196f4 /Cart_Reader/SUPRACAN.ino
parent4a5c4a5fca9e08963100e3d0df1d4e89731c375f (diff)
downloadcartreader-dee54dd30e2f95392b7152b00bced4687553f6ce.tar.gz
cartreader-dee54dd30e2f95392b7152b00bced4687553f6ce.zip
Move automatic voltage selection from menu to setup functions
Diffstat (limited to 'Cart_Reader/SUPRACAN.ino')
-rw-r--r--Cart_Reader/SUPRACAN.ino3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cart_Reader/SUPRACAN.ino b/Cart_Reader/SUPRACAN.ino
index f47ca77..9ad404c 100644
--- a/Cart_Reader/SUPRACAN.ino
+++ b/Cart_Reader/SUPRACAN.ino
@@ -17,7 +17,10 @@ static const char acanMenuItem6[] PROGMEM = "Flash repro";
static const char *const menuOptionsAcan[] PROGMEM = { acanMenuItem1, acanMenuItem2, acanMenuItem3, acanMenuItem4, acanMenuItem5, string_reset2, acanMenuItem6 };
void setup_SuprAcan() {
+#ifdef ENABLE_VSELECT
+ // Set Automatic Voltage Selection to 5V
setVoltage(VOLTS_SET_5V);
+#endif
// addr as output
DDRF = 0xff; // A0 - A7