VFAS for Watts was not implemented

This commit is contained in:
bsongis
2012-07-06 22:05:55 +00:00
parent d2c1706825
commit f10b2f7b14
+3
View File
@@ -640,6 +640,9 @@ void check_frsky()
uint8_t channel = g_model.frsky.voltsSource;
voltage = applyChannelRatio(channel, frskyData.analog[channel].value);
}
else if (g_model.frsky.voltsSource == 2) {
voltage = frskyData.hub.vfas;
}
uint16_t current = frskyData.hub.current;
if (g_model.frsky.currentSource >= FRSKY_SOURCE_A1 && g_model.frsky.currentSource <= FRSKY_SOURCE_A2) {