🔨 Enhance Lerdge pins, TFTs, and variants (#22658)
This commit is contained in:
committed by
Scott Lahteine
parent
105fd73c28
commit
61364906b3
@ -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)
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user