mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 09:16:01 +03:00
Fix warnings
This commit is contained in:
parent
96c1a780b5
commit
c65bf353a2
2 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,7 @@ static bool l3gd20GyroRead(gyroDev_t *gyro)
|
|||
|
||||
static bool deviceDetect(busDevice_t * dev)
|
||||
{
|
||||
UNUSED(dev);
|
||||
return true; // blindly assume it's present, for now.
|
||||
}
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ static bool fakeBaroStartGet(baroDev_t * baro)
|
|||
|
||||
static bool fakeBaroCalculate(baroDev_t * baro, int32_t *pressure, int32_t *temperature)
|
||||
{
|
||||
UNUSED(baro);
|
||||
if (pressure)
|
||||
*pressure = fakePressure;
|
||||
if (temperature)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue