mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-02 15:37:42 +00:00
shift the init or the variable firmware to FLORA only because of changes from Staars
This commit is contained in:
parent
51b3d67ca9
commit
4f10a15a65
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user