Fixes from review
This commit is contained in:
parent
ae2abc5d50
commit
899942621c
|
@ -228,7 +228,7 @@ static const beeperTableEntry_t beeperTable[] = {
|
|||
{ BEEPER_ENTRY(BEEPER_CAM_CONNECTION_OPEN, 20, beep_camOpenBeep, "CAM_CONNECTION_OPEN") },
|
||||
{ BEEPER_ENTRY(BEEPER_CAM_CONNECTION_CLOSE, 21, beep_camCloseBeep, "CAM_CONNECTION_CLOSED") },
|
||||
{ BEEPER_ENTRY(BEEPER_RC_SMOOTHING_INIT_FAIL,22, beep_rcSmoothingInitFail, "RC_SMOOTHING_INIT_FAIL") },
|
||||
{ BEEPER_ENTRY(BEEPER_ALL, 22, NULL, "ALL") },
|
||||
{ BEEPER_ENTRY(BEEPER_ALL, 23, NULL, "ALL") },
|
||||
};
|
||||
|
||||
static const beeperTableEntry_t *currentBeeperEntry = NULL;
|
||||
|
|
|
@ -84,7 +84,8 @@ typedef enum {
|
|||
| BEEPER_GET_FLAG(BEEPER_CRASH_FLIP_MODE) \
|
||||
| BEEPER_GET_FLAG(BEEPER_CAM_CONNECTION_OPEN) \
|
||||
| BEEPER_GET_FLAG(BEEPER_CAM_CONNECTION_CLOSE) \
|
||||
| BEEPER_GET_FLAG(BEEPER_RC_SMOOTHING_INIT_FAIL) )
|
||||
| BEEPER_GET_FLAG(BEEPER_RC_SMOOTHING_INIT_FAIL) \
|
||||
)
|
||||
|
||||
#define DSHOT_BEACON_ALLOWED_MODES ( \
|
||||
BEEPER_GET_FLAG(BEEPER_RX_LOST) \
|
||||
|
|
|
@ -828,7 +828,7 @@ static bool osdDrawSingleElement(uint8_t item)
|
|||
|
||||
#ifdef USE_RC_SMOOTHING_FILTER
|
||||
// Show warning if rc smoothing hasn't initialized the filters
|
||||
if (ARMING_FLAG(ARMED) && !rcSmoothingInitializationComplete()) {
|
||||
if (osdWarnGetState(OSD_WARNING_RC_SMOOTHING) && ARMING_FLAG(ARMED) && !rcSmoothingInitializationComplete()) {
|
||||
osdFormatMessage(buff, OSD_FORMAT_MESSAGE_BUFFER_SIZE, "RCSMOOTHING");
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -161,6 +161,7 @@ typedef enum {
|
|||
OSD_WARNING_CRASH_FLIP,
|
||||
OSD_WARNING_ESC_FAIL,
|
||||
OSD_WARNING_CORE_TEMPERATURE,
|
||||
OSD_WARNING_RC_SMOOTHING,
|
||||
OSD_WARNING_COUNT // MUST BE LAST
|
||||
} osdWarningsFlags_e;
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
|
||||
//#undef USE_TELEMETRY_HOTT
|
||||
//#undef USE_TELEMETRY_MAVLINK
|
||||
#undef USE_TELEMETRY_LTM
|
||||
//#undef USE_SERIALRX_XBUS
|
||||
|
||||
#undef USE_BOARD_INFO
|
||||
|
@ -52,7 +53,6 @@
|
|||
#undef USE_RTC_TIME
|
||||
#undef USE_EXTENDED_CMS_MENUS
|
||||
#undef USE_ESC_SENSOR_INFO
|
||||
#undef USE_TELEMETRY_LTM
|
||||
|
||||
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
|
||||
|
||||
|
|
Loading…
Reference in New Issue