[Taranis] Altitude bug fixes
[Taranis] Curves presets bug fix
This commit is contained in:
@@ -3,6 +3,9 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Fix bug with Battery calibration
|
<li>Fix bug with Battery calibration
|
||||||
<li>14051 can be used for THR and AIL connections (telemetry)
|
<li>14051 can be used for THR and AIL connections (telemetry)
|
||||||
|
<li>CH1 PPM output was truncated
|
||||||
|
<li>INPUTS instead of STICKS for BL activation
|
||||||
|
<li>Limits are now [-125:0] and [0:125] instead of [-125:25] and [-25:125]
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>2688 / 2013-07-28</h2>
|
<h2>2688 / 2013-07-28</h2>
|
||||||
|
|||||||
@@ -2,6 +2,12 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Rx voltage was not displayed on main screen if VFAS or CELLS chosen!
|
<li>Rx voltage was not displayed on main screen if VFAS or CELLS chosen!
|
||||||
<li>GVARS can now refer to the GVAR of another phase
|
<li>GVARS can now refer to the GVAR of another phase
|
||||||
|
<li>Vario and Altitude bug fixes
|
||||||
|
<li>INPUTS instead of STICKS for BL activation
|
||||||
|
<li>PPM_UNIT=PREC0 / US taken into account in channels view
|
||||||
|
<li>DJT removed and receiver number hidden from PXX settings when proto != X16
|
||||||
|
<li>Limits are now [-125:0] and [0:125] instead of [-125:25] and [-25:125]
|
||||||
|
<li>Curves presets bug fix
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>2688 / 2013-07-28</h2>
|
<h2>2688 / 2013-07-28</h2>
|
||||||
|
|||||||
@@ -324,8 +324,8 @@ void onModelSelectMenu(const char *result)
|
|||||||
void menuModelSelect(uint8_t event)
|
void menuModelSelect(uint8_t event)
|
||||||
{
|
{
|
||||||
if (s_warning_result) {
|
if (s_warning_result) {
|
||||||
eeDeleteModel(m_posVert); // delete file
|
|
||||||
s_warning_result = 0;
|
s_warning_result = 0;
|
||||||
|
eeDeleteModel(m_posVert); // delete file
|
||||||
s_copyMode = 0;
|
s_copyMode = 0;
|
||||||
event = EVT_ENTRY_UP;
|
event = EVT_ENTRY_UP;
|
||||||
}
|
}
|
||||||
@@ -2248,6 +2248,7 @@ void displayPresetChoice(uint8_t event)
|
|||||||
lcd_putcAtt(lcdLastPos, WARNING_LINE_Y, '@', INVERS);
|
lcd_putcAtt(lcdLastPos, WARNING_LINE_Y, '@', INVERS);
|
||||||
|
|
||||||
if (s_warning_result) {
|
if (s_warning_result) {
|
||||||
|
s_warning_result = 0;
|
||||||
CurveInfo crv = curveInfo(s_curveChan);
|
CurveInfo crv = curveInfo(s_curveChan);
|
||||||
for (uint8_t i=0; i<crv.points; i++)
|
for (uint8_t i=0; i<crv.points; i++)
|
||||||
crv.crv[i] = (i-(crv.points/2)) * s_warning_input_value * 50 / (crv.points-1);
|
crv.crv[i] = (i-(crv.points/2)) * s_warning_input_value * 50 / (crv.points-1);
|
||||||
@@ -3485,9 +3486,9 @@ void menuModelLimits(uint8_t event)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (s_warning_result) {
|
if (s_warning_result) {
|
||||||
|
s_warning_result = 0;
|
||||||
LimitData *ld = limitAddress(sub);
|
LimitData *ld = limitAddress(sub);
|
||||||
ld->revert = !ld->revert;
|
ld->revert = !ld->revert;
|
||||||
s_warning_result = 0;
|
|
||||||
eeDirty(EE_MODEL);
|
eeDirty(EE_MODEL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -206,7 +206,11 @@ void processHubPacket(uint8_t id, uint16_t value)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case BARO_ALT_AP_ID:
|
case BARO_ALT_AP_ID:
|
||||||
setBaroAltitude((int32_t)100 * frskyData.hub.baroAltitude_bp + frskyData.hub.baroAltitude_ap);
|
if (frskyData.hub.baroAltitude_ap > 9)
|
||||||
|
frskyData.hub.varioHighPrecision = true;
|
||||||
|
if (!frskyData.hub.varioHighPrecision)
|
||||||
|
frskyData.hub.baroAltitude_ap *= 10;
|
||||||
|
setBaroAltitude((int32_t)100 * frskyData.hub.baroAltitude_bp + (frskyData.hub.baroAltitude_bp >= 0 ? frskyData.hub.baroAltitude_ap : -frskyData.hub.baroAltitude_ap));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GPS_ALT_AP_ID:
|
case GPS_ALT_AP_ID:
|
||||||
|
|||||||
@@ -139,6 +139,8 @@ PACK(struct FrskySerialData {
|
|||||||
int16_t cellsSum;
|
int16_t cellsSum;
|
||||||
uint8_t minCellIdx;
|
uint8_t minCellIdx;
|
||||||
uint16_t minCellVolts;
|
uint16_t minCellVolts;
|
||||||
|
|
||||||
|
bool varioHighPrecision;
|
||||||
});
|
});
|
||||||
|
|
||||||
struct FrskyData {
|
struct FrskyData {
|
||||||
|
|||||||
Reference in New Issue
Block a user