LVGL Arc Controls: Test Angular Wrap and Forbidden Sectors Before Using Them as Setpoints
Test an arc as three separate things: a numeric mapping, a rendered angle and a history-dependent pointer interaction. Unwrap the permitted sector across zero degrees before calculating its value range. Then test the invisible sector explicitly; a gap in the drawing is not automatically an exact, zero-tolerance prohibition on setpoint changes. Applicability: this guide pins…