浏览代码

Fix envs using mks_encrypt.py (#21933)

Fix #21928
ellensp 3 年前
父节点
当前提交
c3a65eef7a
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      buildroot/share/PlatformIO/scripts/mks_encrypt.py

+ 1
- 1
buildroot/share/PlatformIO/scripts/mks_encrypt.py 查看文件

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

正在加载...
取消
保存