mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Add LED profile feature - 4278
This commit is contained in:
parent
e0fc9300ed
commit
4ec536a317
15 changed files with 333 additions and 101 deletions
|
@ -1,4 +1,5 @@
|
|||
# A sample Makefile for building Google Test and using it in user
|
||||
# A sample Makefile for building Google Test and using it in user
|
||||
# tests. Please tweak it to suit your environment and project. You
|
||||
# may want to move it to your project's root directory.
|
||||
#
|
||||
|
@ -156,7 +157,10 @@ ledstrip_unittest_SRC := \
|
|||
$(USER_DIR)/fc/rc_modes.c \
|
||||
$(USER_DIR)/io/ledstrip.c
|
||||
|
||||
|
||||
ledstrip_unittest_DEFINES := \
|
||||
USE_LED_STRIP=
|
||||
|
||||
|
||||
maths_unittest_SRC := \
|
||||
$(USER_DIR)/common/maths.c
|
||||
|
||||
|
@ -187,7 +191,7 @@ rc_controls_unittest_SRC := \
|
|||
$(USER_DIR)/common/bitarray.c \
|
||||
$(USER_DIR)/common/maths.c \
|
||||
$(USER_DIR)/fc/rc_adjustments.c \
|
||||
$(USER_DIR)/fc/rc_modes.c \
|
||||
$(USER_DIR)/fc/rc_modes.c
|
||||
|
||||
|
||||
rx_crsf_unittest_SRC := \
|
||||
|
|
|
@ -351,6 +351,9 @@ void delay(uint32_t ms)
|
|||
}
|
||||
|
||||
uint32_t micros(void) { return 0; }
|
||||
|
||||
uint32_t millis(void) { return 0; }
|
||||
|
||||
bool shouldSoundBatteryAlarm(void) { return false; }
|
||||
bool featureIsEnabled(uint32_t mask) {
|
||||
UNUSED(mask);
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
#define USE_TELEMETRY_MAVLINK
|
||||
#define USE_TELEMETRY_SMARTPORT
|
||||
#define USE_LED_STRIP
|
||||
#define USE_LED_STRIP_STATUS_MODE
|
||||
#define USE_SERVOS
|
||||
#define USE_TRANSPONDER
|
||||
#define USE_VCP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue