mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Notify: ensure ENABLE_SCRIPTING is always defined
This commit is contained in:
parent
9e8126d07c
commit
4eaba21e15
@ -328,7 +328,7 @@ void AP_Notify::add_backends(void)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case Notify_LED_Scripting:
|
case Notify_LED_Scripting:
|
||||||
#ifdef ENABLE_SCRIPTING
|
#if ENABLE_SCRIPTING
|
||||||
ADD_BACKEND(new ScriptingLED());
|
ADD_BACKEND(new ScriptingLED());
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include "AP_Notify/AP_Notify.h"
|
#include "AP_Notify/AP_Notify.h"
|
||||||
#include "ScriptingLED.h"
|
#include "ScriptingLED.h"
|
||||||
|
|
||||||
#ifdef ENABLE_SCRIPTING
|
#if ENABLE_SCRIPTING
|
||||||
|
|
||||||
ScriptingLED *ScriptingLED::_singleton;
|
ScriptingLED *ScriptingLED::_singleton;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include "RGBLed.h"
|
#include "RGBLed.h"
|
||||||
#include <AP_Common/AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
|
|
||||||
#ifdef ENABLE_SCRIPTING
|
#if ENABLE_SCRIPTING
|
||||||
|
|
||||||
class ScriptingLED: public RGBLed {
|
class ScriptingLED: public RGBLed {
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user