fn delay_ms(&mut self, ms: u8) {
        //  TODO: Get this constant from Mynewt
        const OS_TICKS_PER_SEC: u32 = 1000;
        let delay_ticks = (ms as u32) * OS_TICKS_PER_SEC / 1000;
        unsafe { os::os_time_delay(delay_ticks) };
    }
/// Sleep for the specified number of milliseconds
Sleep for the specified number of milliseconds
Sleep for the specified number of milliseconds
fn delay_ms(&mut self, ms: u8) {
        //  TODO: Get this constant from Mynewt
        const OS_TICKS_PER_SEC: u32 = 1000;
        let delay_ticks = (ms as u32) * OS_TICKS_PER_SEC / 1000;
        unsafe { os::os_time_delay(delay_ticks) };
    }
fn delay_ms ( & mut self , ms : u8 ) { //  TODO: Get this constant from Mynewt const OS_TICKS_PER_SEC : u32 = 1000 ; let delay_ticks = ( ms as u32 ) * OS_TICKS_PER_SEC / 1000 ; unsafe { os :: os_time_delay ( delay_ticks ) } ; }
Sleep for the specified number of milliseconds
Sleep for the specified number of milliseconds
&mut self
ms
u8
&mut self
ms
u8