diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2023-01-28 14:54:36 +0100 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2023-01-28 14:54:36 +0100 |
commit | fb7a5c0e43f0fe50ae4cd7c071acb8828d31fb80 (patch) | |
tree | 40672cce794e63bbb063202313afabfbd92e2669 /mqtt.c | |
parent | 1b661ca51f4bd42c9aeba8dbedff691d69623263 (diff) |
Fix mqtt ping packet type
Diffstat (limited to 'mqtt.c')
-rw-r--r-- | mqtt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ bool MqttPing(int mqtt) { uint8_t packet_type; uint8_t message_length; } ping_message = { - .packet_type = 0xd0, + .packet_type = 0xc0, .message_length = 0, }; static_assert(sizeof(ping_message) == 2, "Unexpected ping message size"); |