mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 00:51:49 +08:00
fix(color) correct log message
This commit is contained in:
+1
-1
@@ -359,7 +359,7 @@ lv_color_t lv_palette_darken(lv_palette_t p, uint8_t lvl)
|
||||
}
|
||||
|
||||
if(lvl == 0 || lvl > 5) {
|
||||
LV_LOG_WARN("Invalid level: %d. Must be 0..4", lvl);
|
||||
LV_LOG_WARN("Invalid level: %d. Must be 1..5", lvl);
|
||||
return lv_color_black();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user