Increased target voltage
This commit is contained in:
parent
cfcbbe5269
commit
df0db26122
|
@ -236,7 +236,7 @@ int main(void)
|
||||||
fxp_t AVG_FACT = fxp_from_float(0.10f);
|
fxp_t AVG_FACT = fxp_from_float(0.10f);
|
||||||
fxp_t AVG_FACT_INV = fxp_sub(fxp_from_int(1), AVG_FACT);
|
fxp_t AVG_FACT_INV = fxp_sub(fxp_from_int(1), AVG_FACT);
|
||||||
|
|
||||||
fxp_t MAX_VOLTAGE = fxp_from_float(12.000f);
|
fxp_t MAX_VOLTAGE = fxp_from_float(13.800f);
|
||||||
fxp_t MAX_CURRENT = fxp_from_float( 5.000f);
|
fxp_t MAX_CURRENT = fxp_from_float( 5.000f);
|
||||||
|
|
||||||
fxp_t MPP_VOLTAGE_THR = fxp_sub(MAX_VOLTAGE, fxp_from_float(0.500f));
|
fxp_t MPP_VOLTAGE_THR = fxp_sub(MAX_VOLTAGE, fxp_from_float(0.500f));
|
||||||
|
@ -311,6 +311,8 @@ int main(void)
|
||||||
fxp_right_align(number, msg, 3, '0');
|
fxp_right_align(number, msg, 3, '0');
|
||||||
lcd_send_string("L:");
|
lcd_send_string("L:");
|
||||||
lcd_send_string(msg);
|
lcd_send_string(msg);
|
||||||
|
|
||||||
|
cpuload = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue