Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (timeout && (TIME_AFTER(tick, last_event_tick + timeout)
- && TIME_AFTER(tick, storage_last_disk_activity() + timeout)))
- {
- sys_poweroff();
- } else
- handle_sleep_timer();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement