VFAS for Watts was not implemented
This commit is contained in:
@@ -640,6 +640,9 @@ void check_frsky()
|
|||||||
uint8_t channel = g_model.frsky.voltsSource;
|
uint8_t channel = g_model.frsky.voltsSource;
|
||||||
voltage = applyChannelRatio(channel, frskyData.analog[channel].value);
|
voltage = applyChannelRatio(channel, frskyData.analog[channel].value);
|
||||||
}
|
}
|
||||||
|
else if (g_model.frsky.voltsSource == 2) {
|
||||||
|
voltage = frskyData.hub.vfas;
|
||||||
|
}
|
||||||
|
|
||||||
uint16_t current = frskyData.hub.current;
|
uint16_t current = frskyData.hub.current;
|
||||||
if (g_model.frsky.currentSource >= FRSKY_SOURCE_A1 && g_model.frsky.currentSource <= FRSKY_SOURCE_A2) {
|
if (g_model.frsky.currentSource >= FRSKY_SOURCE_A1 && g_model.frsky.currentSource <= FRSKY_SOURCE_A2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user