feat: Radiomaster TX15 support (#6484)
Co-authored-by: Malte Langermann <54738901+gagarinlg@users.noreply.github.com> Co-authored-by: 3djc <3djc@gh.com> Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
Malte Langermann
3djc
raphaelcoeffic
philmoz
Peter Feerick
parent
3a00c0812b
commit
324b2c7761
@@ -36,6 +36,7 @@
|
||||
#include "hal/abnormal_reboot.h"
|
||||
#include "hal/usb_driver.h"
|
||||
#include "hal/audio_driver.h"
|
||||
#include "hal/rgbleds.h"
|
||||
|
||||
#include "timers_driver.h"
|
||||
|
||||
@@ -401,6 +402,9 @@ void generalDefault()
|
||||
|
||||
#if defined(MANUFACTURER_RADIOMASTER)
|
||||
g_eeGeneral.audioMuteEnable = 1;
|
||||
#if defined(RADIO_TX15)
|
||||
g_eeGeneral.backlightBright = 50; // Screen looks off if not set high enough
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// disable Custom Script
|
||||
@@ -1123,6 +1127,10 @@ void edgeTxClose(uint8_t shutdown)
|
||||
#endif
|
||||
|
||||
sdDone();
|
||||
|
||||
#if defined(FUNCTION_SWITCHES_RGB_LEDS)
|
||||
turnOffRGBLeds();
|
||||
#endif
|
||||
}
|
||||
|
||||
void edgeTxResume()
|
||||
|
||||
Reference in New Issue
Block a user