syntax cleanup #changelog
This commit is contained in:
parent
9e885f316e
commit
26d7a978d3
3 changed files with 4 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ void identifyMarkers() {
|
|||
#endif
|
||||
}
|
||||
|
||||
/*------------------------------------------------*/
|
||||
void updateGainFactor()
|
||||
{
|
||||
if (serialInt >= 0)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue