Skip to content

Commit 6a4ba44

Browse files
committed
rename: read_pulsewitdth_us to read_pulsewidth_us
1 parent 54e8693 commit 6a4ba44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/include/drivers/PwmOut.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class PwmOut {
135135
* @returns
136136
* The PWM pulsewith, specified in microseconds (int)
137137
*/
138-
int read_pulsewitdth_us();
138+
int read_pulsewidth_us();
139139

140140
/** Suspend PWM operation
141141
*

drivers/source/PwmOut.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void PwmOut::pulsewidth_us(int us)
113113
core_util_critical_section_exit();
114114
}
115115

116-
int PwmOut::read_pulsewitdth_us()
116+
int PwmOut::read_pulsewidth_us()
117117
{
118118
core_util_critical_section_enter();
119119
auto val = pwmout_read_pulsewidth_us(&_pwm);

0 commit comments

Comments
 (0)