From 8d43364cfbf60cc5fab24fdcec83f00c458ccc2b Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Tue, 3 May 2022 17:47:48 +0100 Subject: [PATCH] Small typos (#776) --- src/common/pico_util/include/pico/util/pheap.h | 7 +++---- src/rp2_common/pico_platform/include/pico/platform.h | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/common/pico_util/include/pico/util/pheap.h b/src/common/pico_util/include/pico/util/pheap.h index 25351b4..5dc5133 100644 --- a/src/common/pico_util/include/pico/util/pheap.h +++ b/src/common/pico_util/include/pico/util/pheap.h @@ -24,13 +24,12 @@ extern "C" { * Pairing Heap Implementation * \ingroup pico_util * - * pheap defines a simple pairing heap. the implementation simply tracks array indexes, it is up to + * pheap defines a simple pairing heap. The implementation simply tracks array indexes, it is up to * the user to provide storage for heap entries and a comparison function. * - * NOTE: this class is not safe for concurrent usage. It should be externally protected. Furthermore + * NOTE: This class is not safe for concurrent usage. It should be externally protected. Furthermore * if used concurrently, the caller needs to protect around their use of the returned id. - * for example, ph_remove_and_free_head returns the id of an element that is no longer in the heap. - * + * For example, ph_remove_and_free_head returns the id of an element that is no longer in the heap. * The user can still use this to look at the data in their companion array, however obviously further operations * on the heap may cause them to overwrite that data as the id may be reused on subsequent operations * diff --git a/src/rp2_common/pico_platform/include/pico/platform.h b/src/rp2_common/pico_platform/include/pico/platform.h index 596b0db..e5176c8 100644 --- a/src/rp2_common/pico_platform/include/pico/platform.h +++ b/src/rp2_common/pico_platform/include/pico/platform.h @@ -340,7 +340,7 @@ static inline uint8_t rp2040_rom_version(void) { /*! \brief No-op function for the body of tight loops * \ingroup pico_platform * - * Np-op function intended to be called by any tight hardware polling loop. Using this ubiquitously + * No-op function intended to be called by any tight hardware polling loop. Using this ubiquitously * makes it much easier to find tight loops, but also in the future \#ifdef-ed support for lockup * debugging might be added */