mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 02:31:30 +01:00
Fix tests (#698)
* fix firmwareversion to reqd version as fw version cannot be 0 for virtual
This commit is contained in:
@@ -275,7 +275,7 @@ void getServerVersion(char *version) { strcpy(version, APIGOTTHARD); }
|
||||
|
||||
u_int64_t getFirmwareVersion() {
|
||||
#ifdef VIRTUAL
|
||||
return 0;
|
||||
return 1;
|
||||
#endif
|
||||
return ((bus_r(FPGA_VERSION_REG) & FPGA_VERSION_MSK) >> FPGA_VERSION_OFST);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user