mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Dead code removed
This commit is contained in:
parent
3693f34a41
commit
34444aedb2
2 changed files with 0 additions and 15 deletions
|
@ -128,18 +128,6 @@ uint16_t isqrt32(uint32_t n)
|
|||
-204 -> -20
|
||||
*/
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
double gpsToDouble(bool neg, int16_t bp, int16_t ap)
|
||||
{
|
||||
double result = ap;
|
||||
result /= 10000;
|
||||
result += (bp % 100);
|
||||
result /= 60;
|
||||
result += (bp / 100);
|
||||
return neg?-result:result;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(FRSKY_HUB) && !defined(CPUARM)
|
||||
void extractLatitudeLongitude(uint32_t * latitude, uint32_t * longitude)
|
||||
{
|
||||
|
|
|
@ -1674,9 +1674,6 @@ extern uint8_t s_frsky_view;
|
|||
#define EARTH_RADIUSKM ((uint32_t)6371)
|
||||
#define EARTH_RADIUS ((uint32_t)111194)
|
||||
|
||||
#if defined(PCBTARANIS) || defined(PCBFLAMENCO) || defined(PCBHORUS)
|
||||
double gpsToDouble(bool neg, int16_t bp, int16_t ap);
|
||||
#endif
|
||||
void getGpsPilotPosition();
|
||||
void getGpsDistance();
|
||||
void varioWakeup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue