Merge pull request #214 from sensebox/codegenerator/fix-co2-zeros

fix co2 zero issue
This commit is contained in:
Mario Pesch 2022-11-11 15:13:39 +01:00 committed by GitHub
commit f6e5d086b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -434,6 +434,7 @@ Blockly.Arduino.sensebox_scd30 = function () {
while (1)
;
}`;
Blockly.Arduino.setupCode_["scd30_staleData"] = "airSensor.useStaleData(true);";
var code = "";
switch (dropdown) {
case "temperature":