diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ce9638..c1617cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] +## [1.1.1] - 2023-06-20 + +### Fixed + +- `smtc_modem_hal_print_trace_array_*` functions incorrectly trimming immutable strings and causing a hard fault. + ## [1.1.0] - 2023-06-19 ## Changed @@ -47,7 +53,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - stream - tx_rx_continous -[Unreleased]: https://github.com/IRNAS/SWL2001-Zephyr/compare/v1.1.0...HEAD +[Unreleased]: https://github.com/IRNAS/SWL2001-Zephyr/compare/v1.1.1...HEAD + +[1.1.1]: https://github.com/IRNAS/SWL2001-Zephyr/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/IRNAS/SWL2001-Zephyr/compare/v1.0.1...v1.1.0 diff --git a/drivers/smtc_modem_hal_impl/logging/smtc_modem_hal_additional_prints.c b/drivers/smtc_modem_hal_impl/logging/smtc_modem_hal_additional_prints.c index 7ecb2a5..a378e50 100644 --- a/drivers/smtc_modem_hal_impl/logging/smtc_modem_hal_additional_prints.c +++ b/drivers/smtc_modem_hal_impl/logging/smtc_modem_hal_additional_prints.c @@ -171,7 +171,6 @@ void smtc_modem_hal_print_trace_wrn(const char *fmt, ...) void smtc_modem_hal_print_trace_array_inf(char *msg, uint8_t *array, uint32_t len) { #ifdef CONFIG_LOG - prv_string_trim(msg); LOG_HEXDUMP_INF(array, len, msg); #endif /* CONFIG_LOG */ } @@ -179,7 +178,6 @@ void smtc_modem_hal_print_trace_array_inf(char *msg, uint8_t *array, uint32_t le void smtc_modem_hal_print_trace_array_dbg(char *msg, uint8_t *array, uint32_t len) { #ifdef CONFIG_LOG - prv_string_trim(msg); LOG_HEXDUMP_DBG(array, len, msg); #endif /* CONFIG_LOG */ } \ No newline at end of file