Change compare condition

This commit is contained in:
Valeriy Koval
2015-04-27 19:05:59 +03:00
parent 60dc02682b
commit 2206ec50a5

View File

@ -15,7 +15,7 @@ env = DefaultEnvironment()
SConscript(env.subst(join("$PIOBUILDER_DIR", "scripts", "basearm.py")))
if "gdb" in env['UPLOAD_PROTOCOL']:
if env['UPLOAD_PROTOCOL'] == "gdb":
if not isfile(join(env.subst("$PROJECT_DIR"), "upload.gdb")):
Exit(
"You are using GDB as firmware uploader. "