Fixed doc that set_PWM_range() returns the actual range

Fixed the documentation that the command set_PWM_range() actually
returns the actual range. This resolves #453.
This commit is contained in:
Bernd Porr 2021-04-10 23:25:02 +01:00
parent 3cd69ff4ae
commit de6064cee9
1 changed files with 2 additions and 2 deletions

View File

@ -592,8 +592,8 @@ user_gpio: 0-31.
range: 25-40000.
. .
Returns 0 if OK, otherwise PI_BAD_USER_GPIO, PI_BAD_DUTYRANGE,
or PI_NOT_PERMITTED.
Returns the actual range for the current gpio frequency if OK,
otherwise PI_BAD_USER_GPIO, PI_BAD_DUTYRANGE, or PI_NOT_PERMITTED.
Notes