We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54e8693 commit 6a4ba44Copy full SHA for 6a4ba44
drivers/include/drivers/PwmOut.h
@@ -135,7 +135,7 @@ class PwmOut {
135
* @returns
136
* The PWM pulsewith, specified in microseconds (int)
137
*/
138
- int read_pulsewitdth_us();
+ int read_pulsewidth_us();
139
140
/** Suspend PWM operation
141
*
drivers/source/PwmOut.cpp
@@ -113,7 +113,7 @@ void PwmOut::pulsewidth_us(int us)
113
core_util_critical_section_exit();
114
}
115
116
-int PwmOut::read_pulsewitdth_us()
+int PwmOut::read_pulsewidth_us()
117
{
118
core_util_critical_section_enter();
119
auto val = pwmout_read_pulsewidth_us(&_pwm);
0 commit comments