GetPumpStatus isRPMs changed to bool to be consistent with SetPumpStatus

This commit is contained in:
2020-06-09 08:42:26 -05:00
parent bf3902efe8
commit ee30cd815e
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ exports.SLGetPumpStatus = class SLGetPumpStatus extends SLMessage {
this.pumpSetting[i] = {};
this.pumpSetting[i].circuitId = this.readUInt32LE();
this.pumpSetting[i].pumpSetPoint = this.readUInt32LE();
this.pumpSetting[i].isRPMs = this.readUInt32LE(); // 1 for RPMs; 0 for GPMs
this.pumpSetting[i].isRPMs = this.readUInt32LE() !== 0; // 1 for RPMs; 0 for GPMs
}
}