Skip to content
Snippets Groups Projects
Commit ef94b04d authored by Martin Kröning's avatar Martin Kröning :crab:
Browse files

Fix clippy::wrong_self_convention

parent 1ed61281
No related branches found
No related tags found
No related merge requests found
......@@ -136,8 +136,8 @@ impl ComCfg {
self.com_cfg.get_max_queue_size(sel)
}
pub fn is_queue_ready(&mut self, sel: u32) -> bool {
self.com_cfg.is_queue_ready(sel)
pub fn get_queue_ready(&mut self, sel: u32) -> bool {
self.com_cfg.get_queue_ready(sel)
}
/// Returns the device status field.
......@@ -508,7 +508,7 @@ impl MmioRegisterLayout {
}
}
pub fn is_queue_ready(&mut self, sel: u32) -> bool {
pub fn get_queue_ready(&mut self, sel: u32) -> bool {
unsafe {
write_volatile(&mut self.queue_sel, sel);
read_volatile(&self.queue_ready) != 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment