Probably doesn't need to have a timeout (I hope)
This commit is contained in:
parent
2328447f48
commit
b53a842273
@ -326,7 +326,7 @@ pub extern "C" fn chuni_io_led_set_colors(_rgb: *const u8) {}
|
||||
#[cfg(any(chuni, chusanapp))]
|
||||
fn device_init() -> Result<()> {
|
||||
{
|
||||
let Some(mut global_device) = DEVICE.try_write_for(DEVICE_POLLING_INTERVAL) else {
|
||||
let Some(mut global_device) = DEVICE.write() else {
|
||||
return Ok(())
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user