1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Cleanup baro/mag/gyro/acc method names from old sensors.c

This commit is contained in:
Dominic Clifton 2014-04-22 02:43:39 +01:00
parent 7e76fd6995
commit 9f26018abd
12 changed files with 38 additions and 43 deletions

View file

@ -6,6 +6,8 @@
#include "sensors_sonar.h"
#include "sensors_gyro.h"
#include "sensors_compass.h"
#include "sensors_barometer.h"
#include "flight_common.h"
#include "serial_cli.h"
#include "telemetry_common.h"
@ -479,13 +481,13 @@ void loop(void)
case 0:
taskOrder++;
#ifdef MAG
if (sensors(SENSOR_MAG) && Mag_getADC())
if (sensors(SENSOR_MAG) && compassGetADC())
break;
#endif
case 1:
taskOrder++;
#ifdef BARO
if (sensors(SENSOR_BARO) && Baro_update())
if (sensors(SENSOR_BARO) && baroUpdate())
break;
#endif
case 2: