wireless/lpwan/rn2xx3: Fix invalid sync word bug.

This commit resolves issue #16009, where a sync word of less than 64
bytes was printed as 0-padded hex. 0-padding is invalid for the RN2xx3
modules, so now it has been removed.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
Matteo Golin 2025-04-20 11:49:27 -04:00 committed by Alan C. Assis
parent da982e113e
commit 0cb7bd7f76

View file

@ -1165,7 +1165,7 @@ static int rn2xx3_setsync(FAR struct rn2xx3_dev_s *priv, uint64_t sync)
/* Write actual parameter and end command */
length = snprintf(syncstr, sizeof(syncstr), "%016llX\r\n", sync);
length = snprintf(syncstr, sizeof(syncstr), "%llX\r\n", sync);
length = file_write(&priv->uart, syncstr, length);
if (length < 0)
{