From 05f8b7adcebf5d83dc4c7922b5a1b10070a493a3 Mon Sep 17 00:00:00 2001 From: Slavey Karadzhov Date: Fri, 12 Jul 2019 11:24:56 +0200 Subject: [PATCH] Fix issues reported by Codacy. --- Sming/Libraries/BME280/BME280.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sming/Libraries/BME280/BME280.h b/Sming/Libraries/BME280/BME280.h index 23331d33f2..7fd78e87cb 100644 --- a/Sming/Libraries/BME280/BME280.h +++ b/Sming/Libraries/BME280/BME280.h @@ -135,8 +135,8 @@ class BME280 int16_t BME280_REGISTER_DIG_H5; int8_t BME280_REGISTER_DIG_H6; - uint8_t buffer[64]; - int32_t t_fine; + uint8_t buffer[64] = {0}; + int32_t t_fine = 0; }; #endif