Skip to content

Commit 6aa5afc

Browse files
committed
driver: Add note about checking if _bl_get_brightness actually works
1 parent 82e101c commit 6aa5afc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ def generate_backlight(p: Panel, options: Options) -> str:
285285
return 0;
286286
}}
287287
288+
// TODO: Check if /sys/class/backlight/.../actual_brightness actually returns
289+
// correct values. If not, remove this function.
288290
static int {p.short_id}_bl_get_brightness(struct backlight_device *bl)
289291
{{
290292
struct mipi_dsi_device *dsi = bl_get_data(bl);

0 commit comments

Comments
 (0)