I am using lv gauge and would like to disable the critical color. Setting the critical value to max+1 doesn’t help.
lv_gauge_set_range(lv_guage, min, max); lv_gauge_set_critical_value(lv_guage, max+1);
What MCU/Processor/Board and compiler are you using?
What LVGL version are you using?
#define LVGL_VERSION_MAJOR 7
#define LVGL_VERSION_MINOR 5
#define LVGL_VERSION_PATCH 0
#define LVGL_VERSION_INFO “dev”
What do you want to achieve?
Eliminate the different color on the last major tick. (see screenshot in image below)
What have you tried so far?
Setting critical value to max + 1;
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
/*You code here*/
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.