syntax cleanup #changelog

This commit is contained in:
pyr0ball 2019-09-25 13:09:09 -07:00
parent 9e885f316e
commit 26d7a978d3
3 changed files with 4 additions and 6 deletions

View file

@ -60,9 +60,8 @@ update the voltMeterConstant variable in pP_config.h with the correct value*/
void readVin() {
VOld = Vin;
Vin = readVcc(), DEC;
senseLong = senseThrs * 1024L;
compLong = compThrs * 1024L;
senseInt = (long long) senseLong / Vin;
followerLong = followerThrs * 1023L;
compLong = compThrs * 1023L;
compInt = (long long) compLong / Vin;
senseInt = (int) senseInt;
compInt = (int) compInt;

View file

@ -55,6 +55,7 @@ void identifyMarkers() {
#endif
}
/*------------------------------------------------*/
void updateGainFactor()
{
if (serialInt >= 0)

View file

@ -10,9 +10,7 @@ int VLast = 0;
// Convert threshold values based on the input voltage
long senseLong = senseThrs * 1024L;
long compLong = compThrs * 1024L;
long senseInt;
long followerLong = followerThrs * 1023L;
long compInt;
// Voltage Comparator Adjustment parameters