Skip to content

Commit 530204e

Browse files
authored
Small tweak to busy_wait_at_least_cycles doxygen (#834)
1 parent b2ad632 commit 530204e

File tree

1 file changed

+4
-4
lines changed
  • src/rp2_common/pico_platform/include/pico

1 file changed

+4
-4
lines changed

src/rp2_common/pico_platform/include/pico/platform.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,12 +405,12 @@ uint __get_current_exception(void);
405405
*
406406
* This method is useful for introducing very short delays.
407407
*
408-
* This method busy-waits in a tight loop for the give number of system clock cycles. The total wait time is only accurate to within 2 cycles,
408+
* This method busy-waits in a tight loop for the given number of system clock cycles. The total wait time is only accurate to within 2 cycles,
409409
* and this method uses a loop counter rather than a hardware timer, so the method will always take longer than expected if an
410-
* interrupt is handled on the calling core when during the busy-wait; you can of course disable interrupts to prevent this.
410+
* interrupt is handled on the calling core during the busy-wait; you can of course disable interrupts to prevent this.
411411
*
412-
* You can use \ref clock_get_hz(clk_sys) to determine the number of clock cycles per second if you want to convert to cycles
413-
* from an actual time duration.
412+
* You can use \ref clock_get_hz(clk_sys) to determine the number of clock cycles per second if you want to convert an actual
413+
* time duration to a number of cycles.
414414
*
415415
* \param minimum_cycles the minimum number of system clock cycles to delay for
416416
*/

0 commit comments

Comments
 (0)