Skip to content
Snippets Groups Projects
Commit 79c8def8 authored by Stephen D's avatar Stephen D
Browse files

switch to idle state when sleeping

parent 9857af6e
Branches master
No related tags found
No related merge requests found
Pipeline #3873 passed
......@@ -72,6 +72,7 @@ where
}
pub fn sleep(&mut self) -> Result<(), RfError<Spi::Error>> {
self.state = InternalState::Idle;
self.radio.sleep()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment