mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 01:27:59 +02:00
WIP
This commit is contained in:
@ -30,7 +30,7 @@ class qDefs : public QWidget {
|
||||
QF_NUM_FUNCTIONS
|
||||
};
|
||||
|
||||
const char* getQFunctionNameFromEnum(enum qFuncNames func) {
|
||||
static const char* getQFunctionNameFromEnum(enum qFuncNames func) {
|
||||
switch (func) {
|
||||
case QF_GET_DETECTOR_STATUS: return "QF_GET_DETECTOR_STATUS";
|
||||
case QF_START_ACQUISITION: return "QF_START_ACQUISITION";
|
||||
@ -142,7 +142,7 @@ class qDefs : public QWidget {
|
||||
valueMS /= 1000;
|
||||
case MICROSECONDS:
|
||||
valueMS /= 1000;
|
||||
return valueMs;
|
||||
return valueMS;
|
||||
|
||||
case HOURS:
|
||||
valueMS *= 60;
|
||||
|
Reference in New Issue
Block a user