-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Include a target's config.h
before common_pre.h
.
#13439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Some gating in `common_pre.h` requires the target's `#define`s to be present, such as `#if defined(USE_LED_STRIP)`...
Do you want to test this code? You can flash it directly from Betaflight Configurator:
WARNING: It may be unstable. Use only for testing! |
Additionally, for those following along, I understand that there should be no logic in any target's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested cloud build with AIRBOTG4AIO and builds with
make MATEKH743
make MATEKH743 EXTRA_FLAGS="-DCORE_BUILD"
make MATEKH743 EXTRA_FLAGS="-DCLOUD_BUILD"
no compile errors with: |
@haslinghuis: Looks quite safe, but I don't know this part of code |
(@haslinghuis: Notification mail is sent before you delete comment and it's confusing when you can't find it) |
Some gating in
common_pre.h
requires the target's#define
s to be present, such as#if defined(USE_LED_STRIP)
...Fixes #13438.