Wykres commitów

2 Commity (f5cc44c01c3b900cbf6d7d83ba68680667dc27f0)

Autor SHA1 Wiadomość Data
Nate Bargmann 3a6f3bac96 Quell clang6 warning of integer adsolute function
Thw warning was:

  CC       meade.lo
../../hamlib/meade/meade.c:226:8: warning: using integer absolute value function 'abs' when argument is of floating point type
      [-Wabsolute-value]
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
       ^
../../hamlib/meade/meade.c:226:8: note: use function 'fabsf' instead
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
       ^~~
       fabsf
../../hamlib/meade/meade.c:226:41: warning: using integer absolute value function 'abs' when argument is of floating point
      type [-Wabsolute-value]
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
                                        ^
../../hamlib/meade/meade.c:226:41: note: use function 'fabsf' instead
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
                                        ^~~
                                        fabsf
2 warnings generated.
2018-11-05 19:53:54 -06:00
andz 75228aa974 Added Meade LX200 Protocol to Rotors
* Added new rotor module (18) for Meade telescope rotors
* Implemented all needed rotor functions
* Added README.md

* Tested with DS-2000 Rotor with Autostar 494 and 506 serial cable
* Tested on Linux (Debian) with rotctl and gpredict
2018-07-17 08:57:05 -05:00