Skip to content
This repository was archived by the owner on Jan 11, 2020. It is now read-only.

Commit b546452

Browse files
committed
Typo + documentation extended
1 parent ee3ace6 commit b546452

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mqttGuard.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ MqttGuard::MqttGuard(basecampLog::LogCallback logCallback)
1111
void MqttGuard::registerPacket(IdType packetId)
1212
{
1313
if (!isValidPacketId(packetId)) {
14-
tryLog(basecampLog::Severity::info, "Not registering invlaid MQTT-packet.", packetId);
14+
tryLog(basecampLog::Severity::info, "Not registering invalid MQTT-packet.", packetId);
1515
return;
1616
}
1717

mqttGuard.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
/**
1010
Helper to guard outgoing mqtt packets.
11-
On packet sending, register the packets within this class and
12-
pull the empty() function to see if everything has been sent completely.
11+
On packet sending, register the packets within this class, unregister them within the onPublish and
12+
pull the allSent() function to see if everything has been sent completely.
1313
*/
1414
class MqttGuard
1515
{

0 commit comments

Comments
 (0)