From ef70daf7bb8a978d9b096aac8764a1210c5e2c0b Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 13 Oct 2021 02:07:55 +0800 Subject: [PATCH] fix hosted mode build config --- services/com/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/com/src/main.rs b/services/com/src/main.rs index 909aa69d5..ce173c002 100644 --- a/services/com/src/main.rs +++ b/services/com/src/main.rs @@ -271,6 +271,9 @@ mod implementation { pub fn wait_txrx(&mut self, _tx: u16, _timeout: Option) -> u16 { 0xDEAD as u16 } + pub fn try_wait_txrx(&mut self, _tx: u16, _timeout: u32) -> Option { + None + } pub fn get_battstats(&mut self) -> BattStats { BattStats {