mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
PICO: jetiexbus -> function unused without GPS enabled.
This commit is contained in:
parent
0b376bff50
commit
623eb5682d
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