Browse Source

Fix envs using mks_encrypt.py (#21933)

Fix #21928
ellensp 3 years ago
parent
commit
c3a65eef7a
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      buildroot/share/PlatformIO/scripts/mks_encrypt.py

+ 1
- 1
buildroot/share/PlatformIO/scripts/mks_encrypt.py View File

17
 
17
 
18
 	# Encrypt ${PROGNAME}.bin and save it as build.firmware
18
 	# Encrypt ${PROGNAME}.bin and save it as build.firmware
19
 	def encrypt(source, target, env):
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
 	marlin.add_post_action(encrypt);
22
 	marlin.add_post_action(encrypt);
23
 
23
 

Loading…
Cancel
Save