hocclk: some refactoring and commenting

This commit is contained in:
souldbminersmwc
2026-04-30 18:48:57 -04:00
parent 00cf05d9c5
commit 89418b7cd0
4 changed files with 34 additions and 38 deletions

View File

@@ -31,10 +31,11 @@ namespace AulaDisplay {
DSI(DSI_TRIGGER) = DSI_TRIGGER_HOST;
if (wait)
svcSleepThread(wait * 1000);
svcSleepThread(wait * 1000); // usleep-equivalant
}
void SetDisplayColorMode(AulaColorMode mode) {
// send display command to change color mode.
_display_dsi_send_cmd(MIPI_DSI_DCS_SHORT_WRITE_PARAM,
MIPI_DCS_PRIV_SM_SET_COLOR_MODE | (mode << 8), 0);