瀏覽代碼

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
 

Loading…
取消
儲存