kopia lustrzana https://github.com/martin-ger/esp_mqtt
return when os_event_t == NULL
rodzic
e6e4e3d914
commit
10851cd97d
|
@ -446,6 +446,8 @@ MQTT_Task(os_event_t *e)
|
||||||
MQTT_Client* client = (MQTT_Client*)e->par;
|
MQTT_Client* client = (MQTT_Client*)e->par;
|
||||||
uint8_t dataBuffer[MQTT_BUF_SIZE];
|
uint8_t dataBuffer[MQTT_BUF_SIZE];
|
||||||
uint16_t dataLen;
|
uint16_t dataLen;
|
||||||
|
if(e->par == NULL)
|
||||||
|
return;
|
||||||
switch(client->connState){
|
switch(client->connState){
|
||||||
|
|
||||||
case TCP_RECONNECT_REQ:
|
case TCP_RECONNECT_REQ:
|
||||||
|
|
Ładowanie…
Reference in New Issue