Skip to content

Commit 8d43364

Browse files
authored
Small typos (earlephilhower#776)
1 parent 1c9f72b commit 8d43364

File tree

2 files changed

+4
-5
lines changed
  • src
    • common/pico_util/include/pico/util
    • rp2_common/pico_platform/include/pico

2 files changed

+4
-5
lines changed

src/common/pico_util/include/pico/util/pheap.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ extern "C" {
2424
* Pairing Heap Implementation
2525
* \ingroup pico_util
2626
*
27-
* pheap defines a simple pairing heap. the implementation simply tracks array indexes, it is up to
27+
* pheap defines a simple pairing heap. The implementation simply tracks array indexes, it is up to
2828
* the user to provide storage for heap entries and a comparison function.
2929
*
30-
* NOTE: this class is not safe for concurrent usage. It should be externally protected. Furthermore
30+
* NOTE: This class is not safe for concurrent usage. It should be externally protected. Furthermore
3131
* if used concurrently, the caller needs to protect around their use of the returned id.
32-
* for example, ph_remove_and_free_head returns the id of an element that is no longer in the heap.
33-
*
32+
* For example, ph_remove_and_free_head returns the id of an element that is no longer in the heap.
3433
* The user can still use this to look at the data in their companion array, however obviously further operations
3534
* on the heap may cause them to overwrite that data as the id may be reused on subsequent operations
3635
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ static inline uint8_t rp2040_rom_version(void) {
340340
/*! \brief No-op function for the body of tight loops
341341
* \ingroup pico_platform
342342
*
343-
* Np-op function intended to be called by any tight hardware polling loop. Using this ubiquitously
343+
* No-op function intended to be called by any tight hardware polling loop. Using this ubiquitously
344344
* makes it much easier to find tight loops, but also in the future \#ifdef-ed support for lockup
345345
* debugging might be added
346346
*/

0 commit comments

Comments
 (0)