Skip to content

Commit

Permalink
Quick run through codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jul 16, 2024
1 parent af84f60 commit 264916f
Show file tree
Hide file tree
Showing 34 changed files with 39 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ extern sint8 espconn_create(struct espconn *espconn);

/******************************************************************************
* FunctionName : espconn_tcp_get_max_con
* Description : get the number of simulatenously active TCP connections
* Description : get the number of simultaneously active TCP connections
* Parameters : none
* Returns : none
*******************************************************************************/
Expand All @@ -237,15 +237,15 @@ extern uint8 espconn_tcp_get_max_con(void);

/******************************************************************************
* FunctionName : espconn_tcp_set_max_con
* Description : set the number of simulatenously active TCP connections
* Description : set the number of simultaneously active TCP connections
* Parameters : num -- total number
* Returns : none
*******************************************************************************/

extern sint8 espconn_tcp_set_max_con(uint8 num);
/******************************************************************************
* FunctionName : espconn_tcp_get_max_con_allow
* Description : get the count of simulatenously active connections on the server
* Description : get the count of simultaneously active connections on the server
* Parameters : espconn -- espconn to get the count
* Returns : result
*******************************************************************************/
Expand All @@ -254,7 +254,7 @@ extern sint8 espconn_tcp_get_max_con_allow(struct espconn *espconn);

/******************************************************************************
* FunctionName : espconn_tcp_set_max_con_allow
* Description : set the count of simulatenously active connections on the server
* Description : set the count of simultaneously active connections on the server
* Parameters : espconn -- espconn to set the count
* Returns : result
*******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion Sming/Arch/Esp8266/Components/esp-lwip/include/lwip/opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
#endif

/**
* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP connections.
* MEMP_NUM_TCP_PCB: the number of simultaneously active TCP connections.
* (requires the LWIP_TCP option)
*/
#ifndef MEMP_NUM_TCP_PCB
Expand Down
2 changes: 1 addition & 1 deletion Sming/Arch/Esp8266/Components/esp-lwip/include/lwip/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void sys_msleep(u32_t ms); /* only has a (close to) 1 jiffy resolution. */

/** Create a new mbox of specified size
* @param mbox pointer to the mbox to create
* @param size (miminum) number of messages in this mbox
* @param size (minimum) number of messages in this mbox
* @return ERR_OK if successful, another err_t otherwise */
err_t sys_mbox_new(sys_mbox_t *mbox, int size);
/** Post a message to an mbox - may not fail
Expand Down
2 changes: 1 addition & 1 deletion Sming/Arch/Esp8266/Components/esp-lwip/include/lwip/udp.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ struct udp_pcb {
/** user-supplied argument for the recv callback */
void *recv_arg;
};
/* udp_pcbs export for exernal reference (e.g. SNMP agent) */
/* udp_pcbs export for external reference (e.g. SNMP agent) */
extern struct udp_pcb *udp_pcbs;

/* The following functions is the application layer interface to the
Expand Down
4 changes: 2 additions & 2 deletions Sming/Arch/Esp8266/Components/esp8266/include/esp_phy.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ struct PhyInitData {
* This option is to share crystal clock for BT
* @param value The state of Crystal during sleeping:
* - 0: Off
* - 1: Forceably On
* - 1: Forcibly On
* - 2: Automatically On according to XPD_DCDC
* - 3: Automatically On according to GPIO2
*/
Expand Down Expand Up @@ -270,7 +270,7 @@ struct PhyInitData {

/**
* @brief Set attenuation of BB gain
* @param value Attentuation in 0.25dB steps. Max valve is 24 (-6dB):
* @param value Attenuation in 0.25dB steps. Max valve is 24 (-6dB):
* - 0: 0dB
* - 1: -0.25dB
* - 2: -0.5dB
Expand Down
2 changes: 1 addition & 1 deletion Sming/Components/Network/src/Platform/WifiEvents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Common set of reason codes to ieee 802.11-2007
* Codes at 200+ are non-standard defined by Espressif.
*
* Some acronymns:
* Some acronyms:
*
* IE: Information Element
* STA: Station
Expand Down
2 changes: 1 addition & 1 deletion Sming/Components/Network/src/Platform/WifiEvents.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* @brief Common set of reason codes to IEEE 802.11-2007
* @note Codes at 200+ are non-standard, defined by Espressif.
*
* Some acronymns used here - see the full standard for more precise definitions.
* Some acronyms used here - see the full standard for more precise definitions.
* - SSID: Service Set Identifier (the visible name given to an Access Point)
* - BSSID: Basic Service Set Identifier (a MAC address physically identifying the AP)
* - IE: Information Element (standard piece of information carried within WiFi packets)
Expand Down
2 changes: 1 addition & 1 deletion Sming/Components/arch_driver/src/include/flashmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ flash_sector_t flashmem_get_sector_of_address(flash_addr_t addr);
/*
* @brief Returns the address of the first free block on flash
* @retval uint32_t The actual address on flash
* @deprectated Partition tables make this function obsolete.
* @deprecated Partition tables make this function obsolete.
*/
inline uint32_t SMING_DEPRECATED flashmem_get_first_free_block_address(void)
{
Expand Down
2 changes: 1 addition & 1 deletion Sming/Components/axtls-8266/axtls-8266.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ index 8f0fbfb..330f459 100644

case SSL_ALERT_RECORD_OVERFLOW:
- printf("record overlow");
+ puts("record overlow");
+ puts("record overflow");
break;

case SSL_ALERT_HANDSHAKE_FAILURE:
Expand Down
2 changes: 1 addition & 1 deletion Sming/Core/ZonedTime.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class ZonedTime
}

/**
* @brief Set the default format for dispaying zoned times
* @brief Set the default format for displaying zoned times
*/
static void setDefaultFormat(const String& format)
{
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/AnimatedGIF/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Features
Using
-----

1. Add ``COMPONENT_DEPENDS += AnimatedGIF`` to your application componenent.mk file.
1. Add ``COMPONENT_DEPENDS += AnimatedGIF`` to your application component.mk file.
2. Add these lines to your application::

#include <AnimatedGifTask.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Basic AnimatedGIF
=================

Sample demonstating the usage of the optimized :library:`AnimatedGIF` library
Sample demonstrating the usage of the optimized :library:`AnimatedGIF` library
together with :library:`Graphics` library.

You should be able to see the following animated image:
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/BLEGamepad/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Using this library you can do the following:
Using
-----

1. Add ``COMPONENT_DEPENDS += BLEGamepad`` to your application componenent.mk file.
1. Add ``COMPONENT_DEPENDS += BLEGamepad`` to your application component.mk file.
2. Add these lines to your application::

#include <BleGamepad.h>
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/BLEKeyboard/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Using this library you can do the following:
Using
-----

1. Add ``COMPONENT_DEPENDS += BLEKeyboard`` to your application componenent.mk file.
1. Add ``COMPONENT_DEPENDS += BLEKeyboard`` to your application component.mk file.
2. Add these lines to your application::

#include <BleKeyboard.h>
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/CommandProcessing/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ samples.
Using
-----

1. Add these lines to your application componenent.mk file::
1. Add these lines to your application component.mk file::

COMPONENT_DEPENDS += CommandProcessing

Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/DS3232RTC/DS3232RTC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
/* functions to convert to and from system time */
/* These are for interfacing with time services and are not normally needed in a sketch */

// leap year calulator expects year argument as years offset from 1970
// leap year calculator expects year argument as years offset from 1970
#define LEAP_YEAR(Y) ( ((1970+Y)>0) && !((1970+Y)%4) && ( ((1970+Y)%100) || !((1970+Y)%400) ) )

static const uint8_t monthDays[]={31,28,31,30,31,30,31,31,30,31,30,31}; // API starts months from 1, this array starts from 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

/*!
@defined CHAR_WIDTH
@abstract Character witdth of the display, expressed in pixeles per character.
@abstract Character width of the display, expressed in pixeles per character.
*/
#define CHAR_WIDTH 5

Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/MCP23017/MCP23017.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ uint8_t MCP23017::digitalRead(uint8_t pin) {
* Mirroring will OR both INTA and INTB pins.
* Opendrain will set the INT pin to value or open drain.
* polarity will set LOW or HIGH on interrupt.
* Default values after Power On Reset are: (false,flase, LOW)
* Default values after Power On Reset are: (false, false, LOW)
* If you are connecting the INTA/B pin to arduino 2/3, you should configure the interrupt handling as FALLING with
* the default configuration.
*/
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/MPU6050/MPU6050.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@
#define MPU6050_INTERRUPT_DATA_RDY_BIT 0

// TODO: figure out what these actually do
// UMPL source code is not very obivous
// UMPL source code is not very obvious
#define MPU6050_DMPINT_5_BIT 5
#define MPU6050_DMPINT_4_BIT 4
#define MPU6050_DMPINT_3_BIT 3
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/Mirf/Mirf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* An Ardunio port of:
* http://www.tinkerer.eu/AVRLib/nRF24L01
*
* Significant changes to remove depencence on interrupts and auto ack support.
* Significant changes to remove dependence on interrupts and auto ack support.
*
* Aaron Shrimpton <[email protected]>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void setup() {
Mirf.payload = sizeof(unsigned long);

/*
* Write channel and payload config then power up reciver.
* Write channel and payload config then power up receiver.
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/Mirf/examples/ping_client/ping_client.pde
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void setup(){
Mirf.payload = sizeof(unsigned long);

/*
* Write channel and payload config then power up reciver.
* Write channel and payload config then power up receiver.
*/

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void setup(){
Mirf.payload = sizeof(unsigned long);

/*
* Write channel and payload config then power up reciver.
* Write channel and payload config then power up receiver.
*/

Mirf.config();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* DS2408 8-Channel Addressable Switch
*
* Writte by Glenn Trewitt, glenn at trewitt dot org
* Written by Glenn Trewitt, glenn at trewitt dot org
*
* Some notes about the DS2408:
* - Unlike most input/output ports, the DS2408 doesn't have mode bits to
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/OtaNetwork/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This architecture-agnostic component adds support for Over-The-Air upgrades.
Usage
-----

1. Add ``COMPONENT_DEPENDS += Ota`` to your application componenent.mk file.
1. Add ``COMPONENT_DEPENDS += Ota`` to your application component.mk file.
2. Add these lines to your application::

#include <Ota/Manager.h>
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/OtaUpgradeMqtt/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Using

#if ENABLE_OTA_ADVANCED
/*
* The advanced parser suppors all firmware upgrades supported by the `OtaUpgrade` library.
* The advanced parser supports all firmware upgrades supported by the `OtaUpgrade` library.
* `OtaUpgrade` library provides firmware signing, firmware encryption and so on.
*/
auto parser = new OtaUpgrade::Mqtt::AdvancedPayloadParser(APP_VERSION_PATCH);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void otaUpdate()

#if ENABLE_OTA_ADVANCED
/*
* The advanced parser suppors all firmware upgrades supported by the `OtaUpgrade` library.
* The advanced parser supports all firmware upgrades supported by the `OtaUpgrade` library.
* `OtaUpgrade` library provides firmware signing, firmware encryption and so on.
*/
auto parser = new OtaUpgrade::Mqtt::AdvancedPayloadParser(APP_VERSION_PATCH);
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/SPI/src/Arch/Esp8266/spisoft_arch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace
{
/*
* Matching small delay values to frequency reuires a lookup table as the relationship is non-linear.
* Matching small delay values to frequency requires a lookup table as the relationship is non-linear.
* Given values are clock period in ns, found by measurement.
*
* Two tables are required depending on currently selected CPU frequency.
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/Spiffs/spiffsgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __init__(self, bix, build_config):
self.obj_ids = list()

def _calc_magic(self, blocks_lim):
# Calculate the magic value mirrorring computation done by the macro SPIFFS_MAGIC defined in
# Calculate the magic value mirroring computation done by the macro SPIFFS_MAGIC defined in
# spiffs_nucleus.h
magic = 0x20140529 ^ self.build_config.page_size
if self.build_config.use_magic_len:
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/SwitchJoycon/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Using this library you can do the following:
Using
-----

1. Add ``COMPONENT_DEPENDS += SwitchJoycon`` to your application componenent.mk file.
1. Add ``COMPONENT_DEPENDS += SwitchJoycon`` to your application component.mk file.
2. Add these lines to your application::

#include <SwitchJoycon.h>
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/fatfs/src/fatfs/ff.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ FRESULT move_window (


/*-----------------------------------------------------------------------*/
/* Synchronize file system and strage device */
/* Synchronize file system and storage device */
/*-----------------------------------------------------------------------*/
#if !_FS_READONLY
static
Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/flatbuffers/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It is available as Open Source on GitHub under the Apache license, v2 (see LICEN
Using
-----

Step 1. Add these lines to your application componenent.mk file::
Step 1. Add these lines to your application component.mk file::

COMPONENT_DEPENDS += flatbuffers

Expand Down
2 changes: 1 addition & 1 deletion Sming/Libraries/nanopb/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ After the generator tool is run you will have newly generated C and header files
Using
-----

1. Add ``COMPONENT_DEPENDS += nanopb`` to your application componenent.mk file.
1. Add ``COMPONENT_DEPENDS += nanopb`` to your application component.mk file.
2. Add these lines to your application::

#include <PbUtils.h>
Expand Down
4 changes: 2 additions & 2 deletions Tools/choco-install.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo.
echo Welcome to Sming bootstrap installer
echo.

REM Check we have administrative priviledge
REM Check we have administrative privilege
net session >nul 2>&1
if errorlevel 1 (
echo Opening an administrative command prompt to continue installation...
Expand Down Expand Up @@ -45,7 +45,7 @@ git clone https://github.com/SmingHub/Sming sming || goto :EOF
REM Fix ownership - we'd prefer to just clone as a regular user but that requires impersonation. Don't go there.
icacls sming /setowner %USERNAME% /T /C /L /Q

REM Install MinGW: Fine to leave this with admin priviledge as it should be considered read-only
REM Install MinGW: Fine to leave this with admin privilege as it should be considered read-only
call sming\tools\mingw-install.cmd
if errorlevel 1 goto :EOF

Expand Down

0 comments on commit 264916f

Please sign in to comment.