mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Move default DEBUG_MODE from common_pre.h into common_defaults_post.h so
it can be overridden.
This commit is contained in:
parent
94ddf5aceb
commit
ece1192c76
2 changed files with 4 additions and 1 deletions
|
@ -20,6 +20,10 @@
|
|||
|
||||
// pg/max7456
|
||||
|
||||
#ifndef DEBUG_MODE
|
||||
#define DEBUG_MODE DEBUG_NONE
|
||||
#endif
|
||||
|
||||
#ifdef USE_MAX7456
|
||||
#ifndef MAX7456_CLOCK_CONFIG_DEFAULT
|
||||
#define MAX7456_CLOCK_CONFIG_DEFAULT MAX7456_CLOCK_CONFIG_OC
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
//#pragma GCC diagnostic warning "-Wpadded"
|
||||
|
||||
//#define SCHEDULER_DEBUG // define this to use scheduler debug[] values. Undefined by default for performance reasons
|
||||
#define DEBUG_MODE DEBUG_NONE // change this to change initial debug mode
|
||||
|
||||
#define I2C1_OVERCLOCK true
|
||||
#define I2C2_OVERCLOCK true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue