Browse Source

simplified calls to round

richarddobson 2 months ago
parent
commit
73ac5d1092
1 changed files with 2 additions and 6 deletions
  1. 2 6
      dev/focus/ap_focus.c

+ 2 - 6
dev/focus/ap_focus.c

@@ -49,13 +49,9 @@
 #include <math.h>
 #include <srates.h>
 
-#ifndef cdp_round
-extern int cdp_round(double a);
-#endif
-
-#if defined unix || defined __GNUC__
+ //#ifdef unix 
 #define round(x) lround((x))
-#endif
+//#endif
 
 /********************************************************************************************/
 /********************************** FORMERLY IN pconsistency.c ******************************/