TB2026-YDS Firmware
Loading...
Searching...
No Matches
screen_settings.h File Reference

Screen (display) settings sub-screen (reached from Settings): brightness slider and auto-sleep delay. More...

#include "screen.h"

Go to the source code of this file.

Functions

screen_tscreen_settings_screen (void)
 Get the singleton Screen settings screen, ready to push onto the navigator.
void screen_settings_restore (void)
 Restore the saved brightness from NVS and apply it to the panel.

Detailed Description

Screen (display) settings sub-screen (reached from Settings): brightness slider and auto-sleep delay.

Note
Développé avec l'assistance de Claude Opus 4.8 (Anthropic), sous la direction de Y. Dos Santos : spécification, revue et validation sur cible par l'auteur.

Function Documentation

◆ screen_settings_restore()

void screen_settings_restore ( void )

Restore the saved brightness from NVS and apply it to the panel.

Call once at boot, after display_oled_init() (the panel must be up). Falls back to full brightness when nothing is stored yet.

◆ screen_settings_screen()

screen_t * screen_settings_screen ( void )

Get the singleton Screen settings screen, ready to push onto the navigator.

Returns
Pointer to the Screen settings screen.