STM32F1: Remove extra py imports (#15898)

This commit is contained in:
Tanguy Pruvot 2019-11-14 11:24:55 +01:00 committed by Scott Lahteine
parent a022defe06
commit 94e18ce324
7 changed files with 0 additions and 11 deletions

View file

@ -113,8 +113,6 @@ def encrypt_file(input, output_file, file_length):
# Encrypt ${PROGNAME}.bin and save it as 'update.cbd'
def encrypt(source, target, env):
import os
firmware = open(target[0].path, "rb")
update = open(target[0].dir.path +'/update.cbd', "wb")
length = os.path.getsize(target[0].path)