mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Move default DEBUG_MODE from common_pre.h into common_defaults_post.h (#8085)
Move default DEBUG_MODE from common_pre.h into common_defaults_post.h
This commit is contained in:
commit
5127e53c41
2 changed files with 4 additions and 1 deletions
|
@ -20,6 +20,10 @@
|
||||||
|
|
||||||
// pg/max7456
|
// pg/max7456
|
||||||
|
|
||||||
|
#ifndef DEBUG_MODE
|
||||||
|
#define DEBUG_MODE DEBUG_NONE
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_MAX7456
|
#ifdef USE_MAX7456
|
||||||
#ifndef MAX7456_CLOCK_CONFIG_DEFAULT
|
#ifndef MAX7456_CLOCK_CONFIG_DEFAULT
|
||||||
#define MAX7456_CLOCK_CONFIG_DEFAULT MAX7456_CLOCK_CONFIG_OC
|
#define MAX7456_CLOCK_CONFIG_DEFAULT MAX7456_CLOCK_CONFIG_OC
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
//#pragma GCC diagnostic warning "-Wpadded"
|
//#pragma GCC diagnostic warning "-Wpadded"
|
||||||
|
|
||||||
//#define SCHEDULER_DEBUG // define this to use scheduler debug[] values. Undefined by default for performance reasons
|
//#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 I2C1_OVERCLOCK true
|
||||||
#define I2C2_OVERCLOCK true
|
#define I2C2_OVERCLOCK true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue