From: asterix Date: Fri, 6 Jun 2008 10:29:09 +0000 (+0000) Subject: Add comments. Reformat. X-Git-Tag: 2.0.0~510 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=9df5cde7370c4ebf50fd13c9eda4e860ecd836f7;p=bertos.git Add comments. Reformat. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1424 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_kfile.h b/bertos/cfg/cfg_kfile.h index 8e2bc926..bc6ff25f 100644 --- a/bertos/cfg/cfg_kfile.h +++ b/bertos/cfg/cfg_kfile.h @@ -47,17 +47,17 @@ * Use 1 to log the error and warning messages * Use 2 to log all messages */ -#define KFILE_LOG_LEVEL 2 +#define KFILE_LOG_LEVEL 2 /** * Set logging verbosity. * * If verbosity is zero print short log messages. */ -#define KFILE_LOG_VERBOSITY 1 +#define KFILE_LOG_VERBOSITY 0 -/// TODO: -#define CONFIG_KFILE_GETS 0 +/// Enable the gets function with echo. +#define CONFIG_KFILE_GETS 0 #endif /* CFG_KFILE_H */ diff --git a/bertos/cfg/test.h b/bertos/cfg/test.h index 96b4138b..5540d105 100644 --- a/bertos/cfg/test.h +++ b/bertos/cfg/test.h @@ -47,6 +47,11 @@ * this is not really an error. To ignore that we mark it * with this macro, where str is the message string of the assert * that we want to drop. + * To use this macro copy the assert log message, and paste as argument + * of this macro. In assert message log is report also the number line + * of the code that have generate the assert in this way you can trap + * only the select assert message. + * */ #define SILENT_ASSERT(str) \ kputs("SILENT_ASSERT:$"str"$\n")