diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rp23/src/bin/spi_sdmmc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rp23/src/bin/spi_sdmmc.rs b/examples/rp23/src/bin/spi_sdmmc.rs index aa6b44ffa..cfc38dfd9 100644 --- a/examples/rp23/src/bin/spi_sdmmc.rs +++ b/examples/rp23/src/bin/spi_sdmmc.rs | |||
| @@ -56,7 +56,7 @@ async fn main(_spawner: Spawner) { | |||
| 56 | // Now that the card is initialized, the SPI clock can go faster | 56 | // Now that the card is initialized, the SPI clock can go faster |
| 57 | let mut config = spi::Config::default(); | 57 | let mut config = spi::Config::default(); |
| 58 | config.frequency = 16_000_000; | 58 | config.frequency = 16_000_000; |
| 59 | sdcard.spi(|dev| dev.bus_mut().set_config(&config)).ok(); | 59 | sdcard.spi(|dev| SetConfig::set_config(dev.bus_mut(), &config)).ok(); |
| 60 | 60 | ||
| 61 | // Now let's look for volumes (also known as partitions) on our block device. | 61 | // Now let's look for volumes (also known as partitions) on our block device. |
| 62 | // To do this we need a Volume Manager. It will take ownership of the block device. | 62 | // To do this we need a Volume Manager. It will take ownership of the block device. |
