Fix spelling in vbus_detection doc comment

This commit is contained in:
Joël Schulz-Ansres 2024-04-22 00:39:59 +02:00
parent 79fbdb1fe0
commit 152d514f52

View file

@ -281,10 +281,10 @@ pub struct Config {
/// Enable VBUS detection. /// Enable VBUS detection.
/// ///
/// The USB spec requires USB devices monitor for USB cable plug/unplug and react accordingly. /// The USB spec requires USB devices monitor for USB cable plug/unplug and react accordingly.
/// This is done by checkihg whether there is 5V on the VBUS pin or not. /// This is done by checking whether there is 5V on the VBUS pin or not.
/// ///
/// If your device is bus-powered (powers itself from the USB host via VBUS), then this is optional. /// If your device is bus-powered (powers itself from the USB host via VBUS), then this is optional.
/// (if there's no power in VBUS your device would be off anyway, so it's fine to always assume /// (If there's no power in VBUS your device would be off anyway, so it's fine to always assume
/// there's power in VBUS, i.e. the USB cable is always plugged in.) /// there's power in VBUS, i.e. the USB cable is always plugged in.)
/// ///
/// If your device is self-powered (i.e. it gets power from a source other than the USB cable, and /// If your device is self-powered (i.e. it gets power from a source other than the USB cable, and