CALIB_RES is only used within STemWin.
 
Symbols
loading...
Files
loading...

CALIB_RES macro

Syntax

#define CALIB_RES(val,pte1,ptm1,pte2,ptm2) ((((val-ptm2)*(pte1-pte2))/(ptm1-ptm2))+pte2)

Arguments

val

pte1

ptm1

pte2

ptm2

References

LocationText
k_calibration.c:32
#define CALIB_RES(val,pte1,ptm1,pte2,ptm2) ((((val-ptm2)*(pte1-pte2))/(ptm1-ptm2))+pte2)
k_calibration.c:281
int32_t ret=CALIB_RES(x,20,data1.b.A1,220,data1.b.B1);
k_calibration.c:294
int32_t ret=CALIB_RES(y,20,data2.b.A2,220,data2.b.B2);