servers: updated fw-sw api version check error message, m3 and g2: updated min fw version

This commit is contained in:
2020-10-02 11:17:11 +02:00
parent 855ed36db2
commit 91efecd4ca
8 changed files with 29 additions and 29 deletions

View File

@ -156,13 +156,13 @@ void basictests() {
// check for API compatibility - old server
if (sw_fw_apiversion > REQUIRED_FIRMWARE_VERSION) {
sprintf(
initErrorMessage,
"This detector software software version (%lld) is incompatible.\n"
"Please update detector software (min. %lld) to be compatible with "
"this firmware.\n",
(long long int)sw_fw_apiversion,
(long long int)REQUIRED_FIRMWARE_VERSION);
sprintf(initErrorMessage,
"This firmware-software api version (0x%llx) is incompatible "
"with the software's minimum required firmware version "
"(0x%llx).\nPlease update detector software to be compatible "
"with this firmware.\n",
(long long int)sw_fw_apiversion,
(long long int)REQUIRED_FIRMWARE_VERSION);
LOG(logERROR, (initErrorMessage));
initError = FAIL;
return;