Deprecate *recv* in favor of *receive*

This commit is contained in:
Ruben De Smet
2023-08-11 11:58:22 +02:00
parent b1ec460b9a
commit c39671266e
14 changed files with 63 additions and 63 deletions

View File

@@ -35,7 +35,7 @@ async fn main(spawner: Spawner) {
unwrap!(spawner.spawn(my_task()));
loop {
match CHANNEL.recv().await {
match CHANNEL.receive().await {
LedState::On => led.set_high(),
LedState::Off => led.set_low(),
}