feat: support for HelloRadioSky V16 (#5317)
Co-authored-by: Peter Feerick <pfeerick@users.noreply.github.com>
This commit is contained in:
co-authored by
Peter Feerick
parent
4426f56cb9
commit
17bf9dc813
@@ -145,7 +145,7 @@ enum {
|
||||
#endif
|
||||
|
||||
// POTS and SLIDERS default configuration
|
||||
#if defined(RADIO_TX16S) || defined(RADIO_F16)
|
||||
#if defined(RADIO_TX16S) || defined(RADIO_F16) || defined(RADIO_V16)
|
||||
#define XPOS_CALIB_DEFAULT {0x3, 0xc, 0x15, 0x1e, 0x26}
|
||||
#endif
|
||||
|
||||
@@ -197,6 +197,10 @@ uint32_t pwrPressedDuration();
|
||||
void usbChargerInit();
|
||||
bool usbChargerLed();
|
||||
|
||||
#if defined(RADIO_V16)
|
||||
uint16_t getSixPosAnalogValue(uint16_t adcValue);
|
||||
#endif
|
||||
|
||||
// Led driver
|
||||
void ledInit();
|
||||
void ledOff();
|
||||
@@ -288,7 +292,7 @@ void telemetryPortInvertedInit(uint32_t baudrate);
|
||||
|
||||
|
||||
// Aux serial port driver
|
||||
#if defined(RADIO_TX16S) || defined(RADIO_F16)
|
||||
#if defined(RADIO_TX16S) || defined(RADIO_F16) || defined(RADIO_V16)
|
||||
#define DEBUG_BAUDRATE 400000
|
||||
#define LUA_DEFAULT_BAUDRATE 115200
|
||||
#else
|
||||
@@ -315,7 +319,7 @@ void bluetoothWriteWakeup();
|
||||
uint8_t bluetoothIsWriting();
|
||||
void bluetoothDisable();
|
||||
|
||||
#if defined(RADIO_TX16S) || defined(RADIO_F16)
|
||||
#if defined(RADIO_TX16S) || defined(RADIO_F16) || defined(RADIO_V16)
|
||||
#define BATTERY_DIVIDER 1495
|
||||
#else
|
||||
#define BATTERY_DIVIDER 1629
|
||||
|
||||
Reference in New Issue
Block a user