fixed variable type for vm-constant serial input #bugfix
This commit is contained in:
parent
13a490d48f
commit
9f1d5dfb6c
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ void updateHysteresis() {
|
|||
void updateConstant() {
|
||||
if (serialInt >= 0)
|
||||
{
|
||||
voltMeterConstant = serialInt;
|
||||
voltMeterConstant = (long) serialInt;
|
||||
EEPROM.put(VM_CONST_ADDRESS, voltMeterConstant);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue