kopia lustrzana https://github.com/martin-ger/esp_mqtt
Use proper type for keepalive
Minor, but keepalive member in struct mqtt_connect_info is signed and gets compared with unsigned.pull/16/head
rodzic
5162b941a8
commit
149091e167
|
@ -100,7 +100,7 @@ typedef struct mqtt_connect_info
|
|||
char* password;
|
||||
char* will_topic;
|
||||
char* will_message;
|
||||
int keepalive;
|
||||
uint32_t keepalive;
|
||||
int will_qos;
|
||||
int will_retain;
|
||||
int clean_session;
|
||||
|
|
Ładowanie…
Reference in New Issue