set the timer if it exists...

This commit is contained in:
starfrost013
2025-09-21 20:08:19 +01:00
parent 599b391095
commit 8254a7f3aa

View File

@@ -54,7 +54,7 @@ void nv4_pramdac_set_vclk()
uint64_t final_hz = nv4_pramdac_get_hz(nv4->pramdac.nvclk, false);
//TODO: Everything
if (!nv4->nvbase.nv4_vclk_timer)
if (nv4->nvbase.nv4_vclk_timer)
timer_set_delay_u64(nv4->nvbase.nv4_vclk_timer, final_hz / TIMER_USEC);
}