From 8324a1fefa45864b07ee306ba7ff9c7ec97097a5 Mon Sep 17 00:00:00 2001 From: "Peter D. Gray" Date: Tue, 30 May 2023 13:20:43 -0400 Subject: [PATCH] add version.is_edge placeholder --- shared/version.py | 3 ++- unix/variant/version.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/version.py b/shared/version.py index c3999711..424c6150 100644 --- a/shared/version.py +++ b/shared/version.py @@ -74,7 +74,7 @@ def serial_number(): def probe_system(): # run-once code to determine what hardware we are running on - global hw_label, has_608, is_factory_mode, is_devmode + global hw_label, has_608, has_fatram, is_factory_mode, is_devmode, has_psram, is_edge global has_se2, mk_num, has_nfc, has_qr, num_sd_slots, has_qwerty, has_battery global MAX_UPLOAD_LEN, MAX_TXN_LEN @@ -89,6 +89,7 @@ def probe_system(): mk_num = 4 has_battery = False has_qwerty = False + is_edge = False cpuid = ckcc.get_cpu_id() assert cpuid == 0x470 # STM32L4S5VI diff --git a/unix/variant/version.py b/unix/variant/version.py index 910149d7..3a0df1c3 100644 --- a/unix/variant/version.py +++ b/unix/variant/version.py @@ -44,6 +44,7 @@ has_qr = False num_sd_slots = 1 has_battery = False has_qwerty = False +is_edge = False if '--mk1' in sys.argv: # doubt this works still