fixed variable type for vm-constant serial input #bugfix

This commit is contained in:
pyr0ball 2019-09-25 15:33:23 -07:00
parent 13a490d48f
commit 9f1d5dfb6c

View file

@ -121,7 +121,7 @@ void updateHysteresis() {
void updateConstant() {
if (serialInt >= 0)
{
voltMeterConstant = serialInt;
voltMeterConstant = (long) serialInt;
EEPROM.put(VM_CONST_ADDRESS, voltMeterConstant);
}
}