cosmetics

This commit is contained in:
Nico 2018-09-10 12:22:00 +02:00
parent 2f9ba4e7f3
commit 804e74d0de
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ void NovaSdsSetWorkPeriod()
NovaSdsSerial->read();
}
novasds_workperiod[4] = WORKING_PERIOD;
novasds_workperiod[4] = WORKING_PERIOD;
novasds_workperiod[17] = ((novasds_workperiod[2] + novasds_workperiod[3] + novasds_workperiod[4] + novasds_workperiod[15] + novasds_workperiod[16]) & 0xFF); //checksum
NovaSdsSerial->write(novasds_workperiod, sizeof(novasds_workperiod));