1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 09:16:01 +03:00

Fix warnings

This commit is contained in:
Michel Pastor 2018-02-24 18:18:30 +01:00
parent 96c1a780b5
commit c65bf353a2
2 changed files with 2 additions and 0 deletions

View file

@ -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.
}

View file

@ -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)