tests: mqtt_packet: use MQTT_UTF8_LITERAL() to simplify code
Using MQTT_UTF8_LITERAL() allows to reduce code and make it less error
prone, since utf8 length is calculated automatically by the macro.
Signed-off-by:
Marcin Niestroj <m.niestroj@grinn-global.com>
Loading
Please sign in to comment