From 839abb97db1cda9e9318a95bd22f546fddc2652c Mon Sep 17 00:00:00 2001 From: anlicheng Date: Mon, 24 Jul 2023 14:49:51 +0800 Subject: [PATCH] fix --- apps/iot/include/emqtt.hrl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/iot/include/emqtt.hrl b/apps/iot/include/emqtt.hrl index 8caa08f..48cc014 100644 --- a/apps/iot/include/emqtt.hrl +++ b/apps/iot/include/emqtt.hrl @@ -405,12 +405,6 @@ reason_code = ReasonCode} }). --define(PUBREC_PACKET(PacketId, ReasonCode), - #mqtt_packet{header = #mqtt_packet_header{type = ?PUBREC}, - variable = #mqtt_packet_puback{packet_id = PacketId, - reason_code = ReasonCode} - }). - -define(PUBREC_PACKET(PacketId, ReasonCode, Properties), #mqtt_packet{header = #mqtt_packet_header{type = ?PUBREC}, variable = #mqtt_packet_puback{packet_id = PacketId,