improve logging

This commit is contained in:
Gabor Kiss-Vamosi
2018-07-25 20:39:24 +02:00
parent 2d5fa3b9dc
commit 678cbdc23d
41 changed files with 128 additions and 283 deletions

View File

@@ -217,13 +217,10 @@ void lv_vletter(const lv_point_t * pos_p, const lv_area_t * mask_p,
};
if(font_p == NULL) {
#if USE_LV_LOG
lv_log_add(LV_LOG_LEVEL_WARN, __FILE__, __LINE__, "Font: character's bitmap not found");
#endif
LV_LOG_WARN("Font: character's bitmap not found");
return;
}
lv_coord_t pos_x = pos_p->x;
lv_coord_t pos_y = pos_p->y;
uint8_t letter_w = lv_font_get_real_width(font_p, letter);