mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 17:55:19 +03:00
Failsafe screen issue
This commit is contained in:
parent
52e5e1aa25
commit
a27c33ae0d
1 changed files with 3 additions and 3 deletions
|
@ -22,9 +22,9 @@
|
||||||
|
|
||||||
extern uint8_t g_moduleIdx;
|
extern uint8_t g_moduleIdx;
|
||||||
|
|
||||||
void onFailsafeMenu(const char *result)
|
void onFailsafeMenu(const char * result)
|
||||||
{
|
{
|
||||||
uint8_t sub = menuVerticalPosition + HEADER_LINE;
|
uint8_t sub = menuVerticalPosition;
|
||||||
int16_t & failsafe = g_model.failsafeChannels[sub];
|
int16_t & failsafe = g_model.failsafeChannels[sub];
|
||||||
int32_t channelValue = channelOutputs[sub];
|
int32_t channelValue = channelOutputs[sub];
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ void onFailsafeMenu(const char *result)
|
||||||
|
|
||||||
void menuModelFailsafe(event_t event)
|
void menuModelFailsafe(event_t event)
|
||||||
{
|
{
|
||||||
uint8_t sub = menuVerticalPosition + HEADER_LINE;
|
uint8_t sub = menuVerticalPosition;
|
||||||
const coord_t x = 1;
|
const coord_t x = 1;
|
||||||
const int lim = (g_model.extendedLimits ? (512 * LIMIT_EXT_PERCENT / 100) : 512) * 2;
|
const int lim = (g_model.extendedLimits ? (512 * LIMIT_EXT_PERCENT / 100) : 512) * 2;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue