fix: typo in PwmOut.h (pulsewith -> pulsewidth)

pull/15302/head
yutotnh 2022-06-25 08:21:51 +09:00
parent 236194f7c3
commit 0992a6cc11
No known key found for this signature in database
GPG Key ID: 4337BC8A24CA3BDC
1 changed files with 2 additions and 2 deletions

View File

@ -133,13 +133,13 @@ public:
/** Read the PWM pulsewidth
* @returns
* The PWM pulsewith, specified in microseconds (int)
* The PWM pulsewidth, specified in microseconds (int)
*/
int read_pulsewidth_us();
/** Read the PWM pulsewidth
* @returns
* The PWM pulsewith, specified in microseconds (int)
* The PWM pulsewidth, specified in microseconds (int)
*/
MBED_DEPRECATED("use read_pulsewidth_us() instead")
int read_pulsewitdth_us();