mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
CONFIG: Fix blackbox (#12511)
* CONFIG: Fix blackbox * Remove blackbox from MATEKH743
This commit is contained in:
parent
5a2aad53ad
commit
53dbad7e1a
3 changed files with 4 additions and 5 deletions
|
@ -148,7 +148,6 @@
|
||||||
// #define SERIALRX_PROVIDER SERIALRX_SBUS
|
// #define SERIALRX_PROVIDER SERIALRX_SBUS
|
||||||
#define SERIALRX_UART SERIAL_PORT_USART6
|
#define SERIALRX_UART SERIAL_PORT_USART6
|
||||||
|
|
||||||
#define USE_BLACKBOX
|
|
||||||
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
|
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
|
||||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
|
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
|
||||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||||
|
|
|
@ -273,6 +273,10 @@
|
||||||
#undef USE_ADC_INTERNAL
|
#undef USE_ADC_INTERNAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (defined(USE_SDCARD) || defined(USE_FLASH)) && !defined(USE_BLACKBOX)
|
||||||
|
#define USE_BLACKBOX
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_FLASH
|
#ifdef USE_FLASH
|
||||||
#define USE_FLASH_TOOLS
|
#define USE_FLASH_TOOLS
|
||||||
#define USE_FLASHFS
|
#define USE_FLASHFS
|
||||||
|
|
|
@ -265,10 +265,6 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined(USE_SDCARD) || defined(USE_FLASH)) && !defined(USE_BLACKBOX)
|
|
||||||
#define USE_BLACKBOX
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(USE_PINIO)
|
#if defined(USE_PINIO)
|
||||||
#define USE_PINIOBOX
|
#define USE_PINIOBOX
|
||||||
#define USE_PIN_PULL_UP_DOWN
|
#define USE_PIN_PULL_UP_DOWN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue