Help compiler with type inference

This commit is contained in:
ivmarkov 2022-10-24 11:31:54 +03:00
parent f78c706b89
commit e3cf4255c6

View File

@ -296,7 +296,7 @@ impl Driver for RtcDriver {
critical_section::with(|cs| {
let r = T::regs_gp16();
let n = alarm.id() as _;
let n = alarm.id() as usize;
let alarm = self.get_alarm(cs, alarm);
alarm.timestamp.set(timestamp);