Skip to content

Commit

Permalink
Update buildscript.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartpittaway authored Jan 19, 2021
1 parent cb51477 commit 6dcae3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ATTINYCellModule/buildscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@
defines = {k: v for (k, v) in my_flags.get("CPPDEFINES")}
#print(defines.get("DIYBMSMODULEVERSION"))

env.Replace(PROGNAME="diybms_module_firmware_%s%s" % (defines.get("DIYBMSMODULEVERSION") , "_SWAPR19R20" if "SWAPR19R20" in defines else "" ))

env.Replace(PROGNAME="module_firmware_%s_%s%s" % (env["PIOENV"], defines.get("DIYBMSMODULEVERSION") , "_SWAPR19R20" if "SWAPR19R20" in defines else "" ))

0 comments on commit 6dcae3d

Please sign in to comment.