Skip to content

Commit 3155956

Browse files
author
Richard Unger
committed
make _pin public - set alternate timers by PinName
1 parent de0cfea commit 3155956

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utilities/stm32pwm/STM32PWMInput.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ class STM32PWMInput {
1515
float getDutyCyclePercent();
1616
uint32_t getDutyCycleTicks();
1717
uint32_t getPeriodTicks();
18-
protected:
18+
1919
PinName _pin;
20+
protected:
2021
TIM_HandleTypeDef timer;
2122
};
2223

0 commit comments

Comments
 (0)