mirror of https://github.com/ArduPilot/ardupilot
AP_Notify: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
This commit is contained in:
parent
55cdbd208d
commit
65b335ae0c
|
@ -328,7 +328,7 @@ void AP_Notify::add_backends(void)
|
|||
break;
|
||||
|
||||
case Notify_LED_Scripting:
|
||||
#if ENABLE_SCRIPTING
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
ADD_BACKEND(new ScriptingLED());
|
||||
#endif
|
||||
break;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "AP_Notify/AP_Notify.h"
|
||||
#include "ScriptingLED.h"
|
||||
|
||||
#if ENABLE_SCRIPTING
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
|
||||
ScriptingLED *ScriptingLED::_singleton;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "RGBLed.h"
|
||||
#include <AP_Common/AP_Common.h>
|
||||
|
||||
#if ENABLE_SCRIPTING
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
|
||||
class ScriptingLED: public RGBLed {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue