update espMqttClient, add own mqtt limit, fix queue display, 3.7.0-dev1d

This commit is contained in:
MichaelDvP
2023-08-31 08:09:54 +02:00
parent 7e45c89fcd
commit 120c0b5ca2
5 changed files with 17 additions and 8 deletions

View File

@@ -131,7 +131,7 @@ class MqttClient {
uint32_t timeSent;
espMqttClientInternals::Packet packet;
template <typename... Args>
OutgoingPacket(uint32_t t, espMqttClientTypes::Error error, Args &&... args)
OutgoingPacket(uint32_t t, espMqttClientTypes::Error & error, Args &&... args)
: timeSent(t)
, packet(error, std::forward<Args>(args)...) {
}