mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 12:50:53 +00:00
fix doc (#2363)
This commit is contained in:
parent
88c4dba9e0
commit
9d51d1befe
@ -12,7 +12,7 @@ You no longer have to set up clocks and pass them to `esp_wifi::init` and the `e
|
||||
- system::SystemControl,
|
||||
};
|
||||
use esp_wifi::{
|
||||
initialize,
|
||||
- initialize,
|
||||
// ...
|
||||
};
|
||||
|
||||
@ -26,7 +26,7 @@ You no longer have to set up clocks and pass them to `esp_wifi::init` and the `e
|
||||
let timg0 = TimerGroup::new(peripherals.TIMG0);
|
||||
|
||||
- let init = initialize(
|
||||
+ let init = init(
|
||||
+ let init = esp_wifi::init(
|
||||
EspWifiInitFor::Wifi,
|
||||
timg0.timer0,
|
||||
Rng::new(peripherals.RNG),
|
||||
|
Loading…
x
Reference in New Issue
Block a user