From 4f10a15a6530e0368881bb2f6f93ad246a970004 Mon Sep 17 00:00:00 2001 From: d0m1n1qu3 Date: Sun, 12 Jul 2020 21:19:40 +0200 Subject: [PATCH] shift the init or the variable firmware to FLORA only because of changes from Staars --- tasmota/xsns_62_MI_ESP32.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xsns_62_MI_ESP32.ino b/tasmota/xsns_62_MI_ESP32.ino index e86f93fff..b110cb57f 100644 --- a/tasmota/xsns_62_MI_ESP32.ino +++ b/tasmota/xsns_62_MI_ESP32.ino @@ -520,13 +520,13 @@ uint32_t MIBLEgetSensorSlot(uint8_t (&_MAC)[6], uint16_t _type, uint8_t counter) _newSensor.temp =NAN; _newSensor.bat=0x00; _newSensor.rssi=0xffff; - _newSensor.firmware[0]='\0'; _newSensor.lux = 0x00ffffff; switch (_type) { case FLORA: _newSensor.moisture =NAN; _newSensor.fertility =NAN; + _newSensor.firmware[0]='\0'; break; case 2: case 3: case 4: case 5: case 6: _newSensor.hum=NAN;