mirror of
https://github.com/V2RetroComputing/analog-firmware.git
synced 2024-06-10 22:29:39 +00:00
DPMS timeout tweaks for IIgs
This commit is contained in:
parent
03b23c10d0
commit
9b8e49bc0f
|
@ -152,11 +152,11 @@ void DELAYED_COPY_CODE(render_loop)() {
|
|||
} else {
|
||||
if(busactive == 0) {
|
||||
screentimeout++;
|
||||
if(screentimeout == 5) {
|
||||
if(screentimeout == 30) {
|
||||
update_status_right("Going to sleep...");
|
||||
}
|
||||
} else {
|
||||
if(screentimeout >= 5) {
|
||||
if(screentimeout >= 30) {
|
||||
// Clear the sleep mode message
|
||||
memset(status_line, 0, sizeof(status_line));
|
||||
status_timeout = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user