slight change in comment structure

This commit is contained in:
pyr0ball 2019-09-25 14:44:53 -07:00
parent e416f14072
commit aa6e3148a2

View file

@ -40,7 +40,8 @@ long readVcc() {
return result; // Vcc in millivolts return result; // Vcc in millivolts
} }
/* The above function assumes an "ideal" multiplier constant. /*-------------------------------------------------
The above function assumes an "ideal" multiplier constant.
Each Atmega chip is slightly different, so it won't be completely accurate Each Atmega chip is slightly different, so it won't be completely accurate
without tuning. Most of the time this won't be necessary, so don't mess without tuning. Most of the time this won't be necessary, so don't mess
with this if you don't know what you're doing! with this if you don't know what you're doing!
@ -53,9 +54,8 @@ where
internal1.1Ref = 1.1 * Vcc1 (per voltmeter) / Vcc2 (per readVcc() function) internal1.1Ref = 1.1 * Vcc1 (per voltmeter) / Vcc2 (per readVcc() function)
If the scale_constant calculated is different from the default 1125300, If the scale_constant calculated is different from the default 1125300,
update the voltMeterConstant variable in pP_config.h with the correct value*/ update the voltMeterConstant variable in pP_config.h with the correct value
--------------------------------------------------*/
/*------------------------------------------------*/
void readVin() { void readVin() {
VOld = Vin; VOld = Vin;