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 GitHub
parent 9c61e6f1c0
commit c3a65eef7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ if 'firmware' in board.get("build").keys():
# Encrypt ${PROGNAME}.bin and save it as build.firmware
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);