Skip to content

Commit

Permalink
wifi-on-interval was being forced to -1
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnBry committed Jan 30, 2024
1 parent e215666 commit b10b911
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/python/build_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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 \
Expand Down

0 comments on commit b10b911

Please sign in to comment.