Fix docs
This commit is contained in:
parent
bc3c25a5d3
commit
9e1b9b8957
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ use thiserror::Error;
|
|||
/// let (mut ledc, mut timer) = setup_backlight(peripherals.LEDC);
|
||||
/// }
|
||||
///
|
||||
/// let mut display = cardputer_bsc_nostd::display::Display::build(
|
||||
/// let mut display = cardputer_bsc_nostd::display::Display::new(
|
||||
/// peripherals.SPI2,
|
||||
/// peripherals.GPIO36,
|
||||
/// peripherals.GPIO35,
|
||||
|
|
@ -63,7 +63,7 @@ impl<'a> DerefMut for Display<'a> {
|
|||
/// let (mut ledc, mut timer) = setup_backlight(peripherals.LEDC);
|
||||
/// }
|
||||
///
|
||||
/// let mut display = cardputer_bsc_nostd::display::Display::build(
|
||||
/// let mut display = cardputer_bsc_nostd::display::Display::new(
|
||||
/// peripherals.SPI2,
|
||||
/// peripherals.GPIO36,
|
||||
/// peripherals.GPIO35,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue