Skip to content
Commit 578cb132 authored by Dominik Ermel's avatar Dominik Ermel Committed by Carles Cufí
Browse files

mgmt/mcumgr/lib: Make version string work with CONFIG_NEWLIB_LIBC



By default the newlib does not compile with %hhu processing,
to avoid turning on additional options for newlib compilation
this commit changes formatting string to use %hu instead.
The commit fixes problem with malformed version string being
returned, by smp_svr, when CONFIG_NEWLIB_LIBC=y is set together
with CONFIG_NEWLIB_LIBC_NANO=y.

Fixes #45261

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent 0c051d0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment