aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorkbleeke <[email protected]>2023-03-27 14:37:39 +0200
committerkbleeke <[email protected]>2023-03-27 15:29:01 +0200
commit8926397f4592f22a5ed54f772a979578ca36628f (patch)
tree44ea2747d84c57dc021e141f9ffe03bf4b911738 /examples
parentb58cc2aa239e4adba2c32462cc89133bb7d9f698 (diff)
address irq nits
Diffstat (limited to 'examples')
-rw-r--r--examples/rpi-pico-w/src/main.rs6
-rw-r--r--examples/rpi-pico-w/src/pio.rs3
2 files changed, 0 insertions, 9 deletions
diff --git a/examples/rpi-pico-w/src/main.rs b/examples/rpi-pico-w/src/main.rs
index 97e2d6a60..434851378 100644
--- a/examples/rpi-pico-w/src/main.rs
+++ b/examples/rpi-pico-w/src/main.rs
@@ -227,10 +227,4 @@ impl cyw43::SpiBusCyw43 for MySpi {
227 self.read(read).await; 227 self.read(read).await;
228 self.cs.set_high(); 228 self.cs.set_high();
229 } 229 }
230
231 async fn wait_for_event(&mut self) {}
232
233 fn clear_event(&mut self) {}
234
235
236} 230}
diff --git a/examples/rpi-pico-w/src/pio.rs b/examples/rpi-pico-w/src/pio.rs
index 6df227468..1cefb1734 100644
--- a/examples/rpi-pico-w/src/pio.rs
+++ b/examples/rpi-pico-w/src/pio.rs
@@ -170,9 +170,6 @@ where
170 170
171 async fn wait_for_event(&mut self) { 171 async fn wait_for_event(&mut self) {
172 self.sm.wait_irq(0).await; 172 self.sm.wait_irq(0).await;
173 }
174
175 fn clear_event(&mut self) {
176 self.sm.clear_irq(0); 173 self.sm.clear_irq(0);
177 } 174 }
178} 175}