mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +03:00
Merge pull request #4485 from mikeller/cleanup_undefs
Cleaned up 'undef' after move to 'USE_<x>'.
This commit is contained in:
commit
9322f3f5d8
4 changed files with 6 additions and 12 deletions
|
@ -101,13 +101,13 @@
|
|||
//#define SONAR_ECHO_PIN PB0
|
||||
//#define SONAR_TRIGGER_PIN PB5
|
||||
|
||||
#undef MAG
|
||||
#undef USE_MAG
|
||||
|
||||
#ifdef CC3D_OPBL
|
||||
#define SKIP_CLI_COMMAND_HELP
|
||||
//#undef USE_SERVOS
|
||||
#undef BARO
|
||||
#undef SONAR
|
||||
#undef USE_BARO
|
||||
#undef USE_SONAR
|
||||
#undef USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||
//#undef USE_SERIALRX_SPEKTRUM // SRXL, DSM2 and DSMX protocol
|
||||
//#undef USE_SERIALRX_SBUS // Frsky and Futaba receivers
|
||||
|
|
|
@ -120,10 +120,6 @@
|
|||
#define USE_QUAD_MIXER_ONLY
|
||||
#undef USE_SERVOS
|
||||
|
||||
#if (FLASH_SIZE <= 64)
|
||||
#undef BLACKBOX
|
||||
#endif
|
||||
|
||||
// Number of available PWM outputs
|
||||
//#define MAX_PWM_OUTPUT_PORTS 4
|
||||
|
||||
|
|
|
@ -95,9 +95,9 @@
|
|||
#define VBAT_SCALE_DEFAULT 40
|
||||
|
||||
|
||||
#undef GPS
|
||||
#undef MAG
|
||||
#undef SONAR
|
||||
#undef USE_GPS
|
||||
#undef USE_MAG
|
||||
#undef USE_SONAR
|
||||
#undef USE_SERVOS
|
||||
#undef BEEPER
|
||||
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#include <limits.h>
|
||||
#include <cmath>
|
||||
|
||||
#undef BARO
|
||||
|
||||
extern "C" {
|
||||
#include "build/debug.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue