commit | 182555b3df2c60c5d16e76415c8e2ad6b3c73c42 | [log] [tgz] |
---|---|---|
author | Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no> | Thu Oct 19 15:08:55 2023 +0200 |
committer | Carles Cufí <carles.cufi@nordicsemi.no> | Fri Oct 27 10:50:39 2023 +0200 |
tree | 9e93db205151589fb3ae37f4c0a8868a1fe11519 | |
parent | 900f9c3b242f60d1672f3554cd6af5017f5f190b [diff] |
sys: cbprintf: Add macro for determining if argument fit in 32 bit word Add Z_CBPRINTF_IS_WORD_NUM(x) which determines if argument is a number that can fit in 32 bit word. It is used by logging macros optimized for handling strings with numeric arguments. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>