From 798b0ea6b274f2cf35619640558984e727714b67 Mon Sep 17 00:00:00 2001 From: Jan Teske Date: Fri, 7 Aug 2020 19:36:05 +0200 Subject: [PATCH] Revert previous find-replace accidents --- src/pwm.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pwm.rs b/src/pwm.rs index 6cddd990f..b8c24e9f8 100644 --- a/src/pwm.rs +++ b/src/pwm.rs @@ -65,12 +65,12 @@ ch4.enable(); ``` - All three pins will output a 50hz period. gpioa::PA6 and PB4 will share a + All three pins will output a 50hz period. PA6 and PB4 will share a duty cycle, but the duty cycle for PB1 can be controlled independently. ``` - // Affect gpioa::PA6 and PB4 + // Affect PA6 and PB4 ch1.set_duty_cycle(1000); // Affect only PB1 @@ -146,9 +146,9 @@ .output_to(pa8); ``` - Once we've connected a complementary pin (gpioa::PA7) we are now _only_ - allowed to use other complementary pins. gpioa::PA8 is a valid choice if - we have no pins in use, but it cannot be used once we've used gpioa::PA7. + Once we've connected a complementary pin (PA7) we are now _only_ + allowed to use other complementary pins. PA8 is a valid choice if + we have no pins in use, but it cannot be used once we've used PA7. */ use crate::{