Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Invalid declaration of nrf_log_push

nrf_log_push is declared as

char const * nrf_log_push(char * const p_str);

I think the const in the parameter should be before the pointer not after it? const-qualifying a parameter (as opposed to the chars pointed to) does not have an effect in the function declaration.

nRF5 SDK 16.0.0

Related