mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 11:20:04 +02:00
Got rid of C++ comments un usersFunctions.c
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@32 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
a271d7a9e9
commit
be173eaee1
@ -13,8 +13,8 @@ float i0=0;
|
|||||||
|
|
||||||
float angle(int ichan, float encoder, float totalOffset, float conv_r, float center, float offset, float tilt, int direction) {
|
float angle(int ichan, float encoder, float totalOffset, float conv_r, float center, float offset, float tilt, int direction) {
|
||||||
|
|
||||||
(void) offset; // to avoid warning: unused parameter
|
(void) offset; /* to avoid warning: unused parameter */
|
||||||
(void) tilt; // to avoid warning: unused parameter
|
(void) tilt; /* to avoid warning: unused parameter */
|
||||||
float ang;
|
float ang;
|
||||||
|
|
||||||
ang=180./PI*(center*conv_r+atan((float)(ichan-center)*conv_r))+encoder+totalOffset;
|
ang=180./PI*(center*conv_r+atan((float)(ichan-center)*conv_r))+encoder+totalOffset;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user