1
0
Fork 0
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:
Michael Keller 2019-04-28 12:50:49 +12:00 committed by GitHub
commit 5127e53c41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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