mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
Include a target's config.h
before common_pre.h
. (#13439)
Some gating in `common_pre.h` requires the target's `#define`s to be present, such as `#if defined(USE_LED_STRIP)`...
This commit is contained in:
parent
af51e00773
commit
ecef09fdd7
1 changed files with 2 additions and 2 deletions
|
@ -26,12 +26,12 @@
|
|||
#pragma GCC poison sprintf snprintf
|
||||
#endif
|
||||
|
||||
#include "target/common_pre.h"
|
||||
|
||||
#ifdef USE_CONFIG
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "target/common_pre.h"
|
||||
|
||||
// MCU specific platform from drivers/XX
|
||||
#include "platform_mcu.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue