format slsdetectorservers

This commit is contained in:
2020-05-05 15:23:11 +02:00
parent 31ec3c8cf7
commit 671cf45fd7
49 changed files with 3750 additions and 3409 deletions

7
slsDetectorServers/slsDetectorServer/include/common.h Executable file → Normal file
View File

@@ -1,7 +1,8 @@
#pragma once
/**
* Convert a value from a range to a different range (eg voltage to dac or vice versa)
* Convert a value from a range to a different range (eg voltage to dac or vice
* versa)
* @param inputMin input minimum
* @param inputMax input maximum
* @param outputMin output minimum
@@ -10,5 +11,5 @@
* @param outputValue pointer to output value
* @returns FAIL if input value is out of bounds, else OK
*/
int ConvertToDifferentRange(int inputMin, int inputMax, int outputMin, int outputMax,
int inputValue, int* outputValue);
int ConvertToDifferentRange(int inputMin, int inputMax, int outputMin,
int outputMax, int inputValue, int *outputValue);