This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF_LOG_INFO can't print a string.

Hello,

The following code was embedded in main function, the sdk version is 15.2.

NRF_LOG_INFO("test begin: ");

char string[] = "This is a string.";
NRF_LOG_INFO(string);

NRF_LOG_INFO("This is a string, too.");

NRF_LOG_INFO("test end ");

the debug console show as below:

My question is , why string "This is a string" can't print out?

Thank you!

Parents Reply Children
No Data
Related