We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d70bbd commit e2f2597Copy full SHA for e2f2597
lib/mqtt/mqtt.cc
@@ -710,7 +710,7 @@ MQTTConnection mqtt_connect(Timeout *t,
710
do
711
{
712
// `remaining` is in milliseconds
713
- uint32_t remaining = (t->remaining * MS_PER_TICK) / 1000;
+ uint32_t remaining = (t->remaining * MS_PER_TICK);
714
ret = with_elapse_timeout(t, [&]() {
715
return MQTT_Connect(&context->coreMQTTContext,
716
&connectInfo,
0 commit comments