mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
Jetiexbus -> function unused without GPS enabled. (#14336)
This commit is contained in:
parent
c55d7c5c31
commit
d9f418dd06
1 changed files with 2 additions and 0 deletions
|
@ -285,6 +285,7 @@ static void createExTelemetryTextMessage(uint8_t *exMessage, uint8_t messageID,
|
|||
exMessage[exMessage[EXTEL_HEADER_TYPE_LEN] + EXTEL_CRC_LEN] = calcCRC8(&exMessage[EXTEL_HEADER_TYPE_LEN], exMessage[EXTEL_HEADER_TYPE_LEN]);
|
||||
}
|
||||
|
||||
#ifdef USE_GPS
|
||||
static uint32_t calcGpsDDMMmmm(int32_t value, bool isLong)
|
||||
{
|
||||
uint32_t absValue = abs(value);
|
||||
|
@ -299,6 +300,7 @@ static uint32_t calcGpsDDMMmmm(int32_t value, bool isLong)
|
|||
|
||||
return exGps.vInt;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int32_t getSensorValue(uint8_t sensor)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue