Skip to content
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

AP_Notify: Fix building BUG, otherwise u will build fail on the real FC! #27544

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/AP_Notify/AP_Notify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ void AP_Notify::add_backends(void)
ADD_BACKEND(NEW_NOTHROW ExternalLED()); // despite the name this is a built in set of onboard LED's
#endif

#if AP_NOTIFY_GPIO_LED_RGB_ENABLED
#ifdef AP_NOTIFY_GPIO_LED_RGB_ENABLED
ADD_BACKEND(NEW_NOTHROW PixRacerLED());
#elif AP_NOTIFY_VRBOARD_LED_ENABLED
ADD_BACKEND(NEW_NOTHROW VRBoard_LED());
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_Notify/PixRacerLED.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "AP_Notify_config.h"

#if AP_NOTIFY_GPIO_LED_RGB_ENABLED
#ifdef AP_NOTIFY_GPIO_LED_RGB_ENABLED

#include "PixRacerLED.h"

Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_Notify/PixRacerLED.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "AP_Notify_config.h"

#if AP_NOTIFY_GPIO_LED_RGB_ENABLED
#ifdef AP_NOTIFY_GPIO_LED_RGB_ENABLED

#include "RGBLed.h"

Expand Down
Loading