fixes wrong responsetimes for the sensors, it is seconds, not milliseconds according to the datasheet.

This commit is contained in:
Andreas Horn 2019-06-08 11:11:46 +02:00
parent 62b75d191b
commit 8d677f5dce

View file

@ -8,8 +8,8 @@
const int MHZ14A = 14;
const int MHZ19B = 19;
const int MHZ14A_RESPONSE_TIME = 60;
const int MHZ19B_RESPONSE_TIME = 120;
const int MHZ14A_RESPONSE_TIME = 60 * 1000;
const int MHZ19B_RESPONSE_TIME = 120 * 1000;
const int STATUS_NO_RESPONSE = -2;
const int STATUS_CHECKSUM_MISMATCH = -3;