From 5d7c72db5a57086e721ce0370c7a4ac75a47a978 Mon Sep 17 00:00:00 2001 From: ellensp Date: Tue, 18 May 2021 11:22:33 +1200 Subject: [PATCH] Fix envs using mks_encrypt.py (#21933) Fix #21928 --- buildroot/share/PlatformIO/scripts/mks_encrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildroot/share/PlatformIO/scripts/mks_encrypt.py b/buildroot/share/PlatformIO/scripts/mks_encrypt.py index 78d7cf349d..0c622704e7 100644 --- a/buildroot/share/PlatformIO/scripts/mks_encrypt.py +++ b/buildroot/share/PlatformIO/scripts/mks_encrypt.py @@ -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);