Skip to content

Commit

Permalink
Update doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubberazer committed Nov 18, 2023
1 parent 5a5a047 commit 64ad832
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/html/jetgpio_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a982f8292ecf78abc5bdeeb33
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">gpio</td><td>(15 Orin only), 32, 33 </td></tr>
<tr><td class="paramname">frequency</td><td>25Hz to 200 kHz </td></tr>
<tr><td class="paramname">frequency</td><td>25Hz to 200 kHz on Nano and 400 Hz to 1595 kHz on Orin </td></tr>
</table>
</dd>
</dl>
Expand Down
2 changes: 1 addition & 1 deletion jetgpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ int gpioSetPWMfrequency(unsigned gpio, unsigned frequency);
/**<
* @brief Sets the frequency in hertz to be used for the GPIO.
* @param gpio (15 Orin only), 32, 33
* @param frequency 25Hz to 200 kHz
* @param frequency 25Hz to 200 kHz on Nano and 400 Hz to 1595 kHz on Orin
* @return Returns 1 if OK, a negative number otherwise
*
* @code gpioSetPWMfrequency(32, 10000); // Setting up PWM frequency=10kHz @ pin 32 @endcode
Expand Down
2 changes: 1 addition & 1 deletion orin.c
Original file line number Diff line number Diff line change
Expand Up @@ -2101,7 +2101,7 @@ int gpioSetPWMfrequency(unsigned gpio, unsigned frequency) {
printf("Only gpio numbers 15, 32 and 33 are accepted\n");
}
}
else {printf("Only frequencies from 25 to 200000 Hz are allowed\n");
else {printf("Only frequencies from 400 to 1595000 Hz are allowed\n");
status =-2;}
return status;
}
Expand Down

0 comments on commit 64ad832

Please sign in to comment.