mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 01:35:35 +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)
|
static bool deviceDetect(busDevice_t * dev)
|
||||||
{
|
{
|
||||||
|
UNUSED(dev);
|
||||||
return true; // blindly assume it's present, for now.
|
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)
|
static bool fakeBaroCalculate(baroDev_t * baro, int32_t *pressure, int32_t *temperature)
|
||||||
{
|
{
|
||||||
|
UNUSED(baro);
|
||||||
if (pressure)
|
if (pressure)
|
||||||
*pressure = fakePressure;
|
*pressure = fakePressure;
|
||||||
if (temperature)
|
if (temperature)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue