🔨 Enhance Lerdge pins, TFTs, and variants (#22658)

This commit is contained in:
Tanguy Pruvot
2021-09-02 01:55:36 +02:00
committed by Scott Lahteine
parent 105fd73c28
commit 61364906b3
28 changed files with 233 additions and 222 deletions

View File

@ -41,7 +41,8 @@ def encrypt(source, target, env):
renamed.close()
if 'encrypt' in board.get("build").keys():
marlin.add_post_action(encrypt);
if board.get("build.encrypt") != "":
marlin.add_post_action(encrypt)
else:
print("LERDGE builds require output file via board_build.encrypt = 'filename' parameter")
exit(1);
exit(1)

View File

@ -45,7 +45,8 @@ if 'encrypt' in board_keys:
def encrypt(source, target, env):
marlin.encrypt_mks(source, target, env, board.get("build.encrypt"))
marlin.add_post_action(encrypt);
if board.get("build.encrypt") != "":
marlin.add_post_action(encrypt)
#
# For build.rename simply rename the firmware file.