kopia lustrzana https://github.com/DL7AD/pecanpico9
Inverted power measurement
rodzic
a8441c508a
commit
71c9ac48eb
|
@ -227,6 +227,7 @@ static void measureVoltage(trackPoint_t* tp)
|
|||
tp->adc_vsol = stm32_get_vsol();
|
||||
|
||||
pac1720_get_avg(&tp->pac_vbat, &tp->pac_vsol, &tp->pac_pbat, &tp->pac_psol);
|
||||
tp->pac_pbat = -tp->pac_pbat;
|
||||
}
|
||||
|
||||
static uint8_t bme280_error;
|
||||
|
|
Ładowanie…
Reference in New Issue