Skip to content

Commit

Permalink
fix: typos (plerup#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG authored and dok-net committed Dec 7, 2023
1 parent 4034c7a commit 2eead9b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/SoftwareSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ int UARTBase::available() {
}

void UARTBase::lazyDelay() {
// Reenable interrupts while delaying to avoid other tasks piling up
// Re-enable interrupts while delaying to avoid other tasks piling up
if (!m_intTxEnabled) { restoreInterrupts(); }
const auto expired = ticks() - m_periodStart;
const int32_t remaining = m_periodDuration - expired;
Expand Down
2 changes: 1 addition & 1 deletion src/SoftwareSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class GpioCapabilities : private IGpioCapabilities {
return (pin >= 0 && pin <= 16) && !isFlashInterfacePin(pin);
#elif defined(ESP32)
// Remove the strapping pins as defined in the datasheets, they affect bootup and other critical operations
// Remmove the flash memory pins on related devices, since using these causes memory access issues.
// Remove the flash memory pins on related devices, since using these causes memory access issues.
#ifdef CONFIG_IDF_TARGET_ESP32
// Datasheet https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf,
// Pinout https://docs.espressif.com/projects/esp-idf/en/latest/esp32/_images/esp32-devkitC-v4-pinout.jpg
Expand Down
2 changes: 1 addition & 1 deletion src/circular_queue/cancellation_token.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ namespace ghostl
/// cancellation_token_source is cancelled. Never call this more than once
/// on the same cancellation_token, but get another cancellation token.
/// </summary>
/// <returns>A bool task, that has a value of true if cancellation occured,
/// <returns>A bool task, that has a value of true if cancellation occurred,
/// or false if the cancellation source etc was deleted without cancellation.</returns>
[[nodiscard]] auto cancellation_request() -> ghostl::task<bool>
{
Expand Down
2 changes: 1 addition & 1 deletion src/circular_queue/circular_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class circular_queue
circular_queue& operator=(const circular_queue&) = delete;

/*!
@brief Get the numer of elements the queue can hold at most.
@brief Get the number of elements the queue can hold at most.
*/
size_t capacity() const
{
Expand Down

0 comments on commit 2eead9b

Please sign in to comment.