lv_log: fix warnings
This commit is contained in:
@@ -54,7 +54,7 @@ void lv_log_register_print(void f(lv_log_level_t, const char *, uint32_t, const
|
|||||||
* @param line line number in the source code where the log added
|
* @param line line number in the source code where the log added
|
||||||
* @param dsc description of the log
|
* @param dsc description of the log
|
||||||
*/
|
*/
|
||||||
void lv_log_add(lv_log_level_t level, const char * file, uint32_t line, const char * dsc)
|
void lv_log_add(lv_log_level_t level, const char * file, int line, const char * dsc)
|
||||||
{
|
{
|
||||||
if(level >= _LV_LOG_LEVEL_NUM) return; /*Invalid level*/
|
if(level >= _LV_LOG_LEVEL_NUM) return; /*Invalid level*/
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ void lv_log_register_print(void f(lv_log_level_t, const char *, uint32_t, const
|
|||||||
* @param line line number in the source code where the log added
|
* @param line line number in the source code where the log added
|
||||||
* @param dsc description of the log
|
* @param dsc description of the log
|
||||||
*/
|
*/
|
||||||
void lv_log_add(lv_log_level_t level, const char * file, uint32_t line, const char * dsc);
|
void lv_log_add(lv_log_level_t level, const char * file, int line, const char * dsc);
|
||||||
|
|
||||||
/**********************
|
/**********************
|
||||||
* MACROS
|
* MACROS
|
||||||
|
|||||||
Reference in New Issue
Block a user