Skip to main content

timer_init

Function timer_init 

Source
pub fn timer_init() -> Result<(), &'static str>
Expand description

Initializes the global timer. Must be called once at startup.

ยงReturns

  • Ok(()) if the timer was successfully initialized.
  • Err(&'static str) if the timer was already initialized.