From b10b911663337648f59f5381cf07b944fd86e85f Mon Sep 17 00:00:00 2001 From: Bryan Mayland Date: Tue, 30 Jan 2024 11:31:14 -0500 Subject: [PATCH] wifi-on-interval was being forced to -1 --- src/python/build_flags.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/python/build_flags.py b/src/python/build_flags.py index 496cc26109..5bd15e9885 100644 --- a/src/python/build_flags.py +++ b/src/python/build_flags.py @@ -136,6 +136,9 @@ def get_git_sha(): def get_version(): return string_to_ascii(env.get('GIT_VERSION')) +json_flags['flash-discriminator'] = randint(1,2**32-1) +json_flags['wifi-on-interval'] = -1 + process_flags("user_defines.txt") process_flags("super_defines.txt") # allow secret super_defines to override user_defines version_to_env() @@ -144,9 +147,6 @@ def get_version(): build_flags.append("-DTARGET_NAME=" + re.sub("_VIA_.*", "", target_name)) condense_flags() -json_flags['flash-discriminator'] = randint(1,2**32-1) -json_flags['wifi-on-interval'] = -1 - if '-DRADIO_SX127X=1' in build_flags: # disallow setting 2400s for 900 if fnmatch.filter(build_flags, '*-DRegulatory_Domain_ISM_2400') or \