kasjer commented on code in PR #3470:
URL: https://github.com/apache/mynewt-core/pull/3470#discussion_r2214354603


##########
sys/log/full/src/log_console.c:
##########
@@ -122,8 +125,11 @@ static const char * const log_level_str[] = {
     "WRN",
     "ERR",
     "CRI",
+    "MAX",
 };
 
+static int real_log_levels = sizeof(log_level_str) / sizeof(log_level_str[0]) 
- 1;

Review Comment:
   consider using `ARRAY_SIZE(log_level_str)`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to