Skip to content

Commit 78cc67d

Browse files
committed
Fixed lastwill variable
1 parent 66bca3e commit 78cc67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MqttManager/MqttManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void onMqttMessage(char* topic, char* payload, AsyncMqttClientMessageProperties
1414
MqttManager::MqttManager()
1515
{
1616
m_connected = false;
17-
lastWillPayload = "Offline";
17+
m_lastWillPayload = "Offline";
1818

1919

2020
m_checkConnectivityTimeOnline = 20000;

0 commit comments

Comments
 (0)