Fix envs using mks_encrypt.py (#21933)

Fix #21928
This commit is contained in:
ellensp 2021-05-18 11:22:33 +12:00 committed by Scott Lahteine
parent 755adb8973
commit 5d7c72db5a

View File

@ -17,7 +17,7 @@ if 'firmware' in board.get("build").keys():
# Encrypt ${PROGNAME}.bin and save it as build.firmware # Encrypt ${PROGNAME}.bin and save it as build.firmware
def encrypt(source, target, env): def encrypt(source, target, env):
marlin.encrypt_mks(source, target, env, "build.firmware") marlin.encrypt_mks(source, target, env, board.get("build.firmware"))
marlin.add_post_action(encrypt); marlin.add_post_action(encrypt);