forked from M-Labs/artiq
1
0
Fork 0

coredevice: compare software and gateware versions strictly

This commit is contained in:
Sebastien Bourdeauducq 2017-06-07 02:11:54 +08:00
parent 076e4119f7
commit ebb4660207
1 changed files with 1 additions and 3 deletions

View File

@ -284,9 +284,7 @@ class CommKernel:
.format(runtime_id))
gateware_version = self._read_string()
gateware_release = gateware_version.split("+")[0]
software_release = software_version.split("+")[0]
if gateware_release != software_release:
if gateware_version != software_version:
logger.warning("Mismatch between gateware (%s) "
"and software (%s) versions",
gateware_version, software_version)