解决赋码未结束时打开急停会导致一直忙的bug
This commit is contained in:
@@ -164,9 +164,9 @@ def main():
|
||||
with open(boot_dst,"wb") as f:
|
||||
f.write(d)
|
||||
print(boot_dst+" create boot file success.")
|
||||
sql=mysql.sql()
|
||||
if(sql.init(SQL_BOOT_PATH)==True):
|
||||
sql.insert(boot_dst)
|
||||
#sql=mysql.sql()
|
||||
#if(sql.init(SQL_BOOT_PATH)==True):
|
||||
# sql.insert(boot_dst)
|
||||
else:
|
||||
print("please build bootloader to create boot file")
|
||||
if __name__=="__main__":
|
||||
|
Reference in New Issue
Block a user