mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
fix hosted mode
This commit is contained in:
parent
69d9e38c8b
commit
f5b69a8cef
2 changed files with 10 additions and 2 deletions
|
|
@ -814,6 +814,14 @@ mod implementation {
|
||||||
pub fn set_chord_interval(&mut self, delay: u32) {
|
pub fn set_chord_interval(&mut self, delay: u32) {
|
||||||
self.chord_interval = delay;
|
self.chord_interval = delay;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn is_repeating_key(&self) -> bool {
|
||||||
|
false
|
||||||
|
}
|
||||||
|
pub(crate) fn get_repeat_check_interval(&self) -> u32 {
|
||||||
|
self.rate
|
||||||
|
}
|
||||||
|
pub(crate) fn poll(&mut self) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -493,8 +493,8 @@ fn xmain() -> ! {
|
||||||
loop {
|
loop {
|
||||||
#[cfg(feature = "watchdog")]
|
#[cfg(feature = "watchdog")]
|
||||||
ticktimer.reset_wdt();
|
ticktimer.reset_wdt();
|
||||||
#[cfg(feature = "watchdog")] // for debugging the watchdog
|
//#[cfg(feature = "watchdog")] // for debugging the watchdog
|
||||||
ticktimer.check_wdt();
|
//ticktimer.check_wdt();
|
||||||
|
|
||||||
let msg = xous::receive_message(ticktimer_server).unwrap();
|
let msg = xous::receive_message(ticktimer_server).unwrap();
|
||||||
log::trace!("msg: {:?}", msg);
|
log::trace!("msg: {:?}", msg);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue