mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-08-02 04:05:08 +02:00
fix: MQTT tick not starting on connect and switch to esp_timer
- Tick should be updated on connect - Dependency of system timer removed to avoid issues when updating via SNTP Closes https://github.com/espressif/esp-mqtt/issues/225
This commit is contained in:
@@ -14,8 +14,7 @@
|
||||
|
||||
char *platform_create_id_string(void);
|
||||
int platform_random(int max);
|
||||
int64_t platform_tick_get_ms(void);
|
||||
void ms_to_timeval(int timeout_ms, struct timeval *tv);
|
||||
uint64_t platform_tick_get_ms(void);
|
||||
|
||||
#define ESP_MEM_CHECK(TAG, a, action) if (!(a)) { \
|
||||
ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Memory exhausted"); \
|
||||
|
Reference in New Issue
Block a user