🎨 Spellcheck code (#22531)

This commit is contained in:
luzpaz 2021-08-08 03:26:54 -04:00 committed by Scott Lahteine
parent c158d8023e
commit 15cf97f0d5
9 changed files with 13 additions and 13 deletions

View File

@ -74,7 +74,7 @@
#define SD_MMC_REMOVING 2 #define SD_MMC_REMOVING 2
//---- CONTROL FONCTIONS ---- //---- CONTROL FUNCTIONS ----
//! //!
//! @brief This function initializes the hw/sw resources required to drive the SD_MMC_SPI. //! @brief This function initializes the hw/sw resources required to drive the SD_MMC_SPI.
//!/ //!/
@ -134,7 +134,7 @@ extern bool sd_mmc_spi_wr_protect(void);
extern bool sd_mmc_spi_removal(void); extern bool sd_mmc_spi_removal(void);
//---- ACCESS DATA FONCTIONS ---- //---- ACCESS DATA FUNCTIONS ----
#if ACCESS_USB == true #if ACCESS_USB == true
// Standard functions for open in read/write mode the device // Standard functions for open in read/write mode the device

View File

@ -135,7 +135,7 @@ typedef void (*udd_callback_halt_cleared_t)(void);
* \param n number of data transfered * \param n number of data transfered
*/ */
typedef void (*udd_callback_trans_t) (udd_ep_status_t status, typedef void (*udd_callback_trans_t) (udd_ep_status_t status,
iram_size_t nb_transfered, udd_ep_id_t ep); iram_size_t nb_transferred, udd_ep_id_t ep);
/** /**
* \brief Authorizes the VBUS event * \brief Authorizes the VBUS event

View File

@ -181,7 +181,7 @@ void LTDC_Config() {
hltdc_F.Init.AccumulatedVBP = (LTDC_LCD_VSYNC + LTDC_LCD_VBP - 1); hltdc_F.Init.AccumulatedVBP = (LTDC_LCD_VSYNC + LTDC_LCD_VBP - 1);
hltdc_F.Init.AccumulatedActiveH = (TFT_HEIGHT + LTDC_LCD_VSYNC + LTDC_LCD_VBP - 1); hltdc_F.Init.AccumulatedActiveH = (TFT_HEIGHT + LTDC_LCD_VSYNC + LTDC_LCD_VBP - 1);
hltdc_F.Init.AccumulatedActiveW = (TFT_WIDTH + LTDC_LCD_HSYNC + LTDC_LCD_HBP - 1); hltdc_F.Init.AccumulatedActiveW = (TFT_WIDTH + LTDC_LCD_HSYNC + LTDC_LCD_HBP - 1);
hltdc_F.Init.TotalHeigh = (TFT_HEIGHT + LTDC_LCD_VSYNC + LTDC_LCD_VBP + LTDC_LCD_VFP - 1); hltdc_F.Init.TotalHeight = (TFT_HEIGHT + LTDC_LCD_VSYNC + LTDC_LCD_VBP + LTDC_LCD_VFP - 1);
hltdc_F.Init.TotalWidth = (TFT_WIDTH + LTDC_LCD_HSYNC + LTDC_LCD_HBP + LTDC_LCD_HFP - 1); hltdc_F.Init.TotalWidth = (TFT_WIDTH + LTDC_LCD_HSYNC + LTDC_LCD_HBP + LTDC_LCD_HFP - 1);
/* Configure R,G,B component values for LCD background color : all black background */ /* Configure R,G,B component values for LCD background color : all black background */
@ -203,7 +203,7 @@ void LTDC_Config() {
pLayerCfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB565; pLayerCfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB565;
/* Start Address configuration : frame buffer is located at SDRAM memory */ /* Start Address configuration : frame buffer is located at SDRAM memory */
pLayerCfg.FBStartAdress = (uint32_t)(FRAME_BUFFER_ADDRESS); pLayerCfg.FBStartAddress = (uint32_t)(FRAME_BUFFER_ADDRESS);
/* Alpha constant (255 == totally opaque) */ /* Alpha constant (255 == totally opaque) */
pLayerCfg.Alpha = 255; pLayerCfg.Alpha = 255;

View File

@ -148,9 +148,9 @@ public:
case FileTransfer::QUERY: case FileTransfer::QUERY:
SERIAL_ECHOPAIR("PFT:version:", VERSION_MAJOR, ".", VERSION_MINOR, ".", VERSION_PATCH); SERIAL_ECHOPAIR("PFT:version:", VERSION_MAJOR, ".", VERSION_MINOR, ".", VERSION_PATCH);
#if ENABLED(BINARY_STREAM_COMPRESSION) #if ENABLED(BINARY_STREAM_COMPRESSION)
SERIAL_ECHOLNPAIR(":compresion:heatshrink,", HEATSHRINK_STATIC_WINDOW_BITS, ",", HEATSHRINK_STATIC_LOOKAHEAD_BITS); SERIAL_ECHOLNPAIR(":compression:heatshrink,", HEATSHRINK_STATIC_WINDOW_BITS, ",", HEATSHRINK_STATIC_LOOKAHEAD_BITS);
#else #else
SERIAL_ECHOLNPGM(":compresion:none"); SERIAL_ECHOLNPGM(":compression:none");
#endif #endif
break; break;
case FileTransfer::OPEN: case FileTransfer::OPEN:

View File

@ -44,7 +44,7 @@ bool my_mousewheel_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data);
void LCD_Clear(uint16_t Color); void LCD_Clear(uint16_t Color);
void tft_set_point(uint16_t x, uint16_t y, uint16_t point); void tft_set_point(uint16_t x, uint16_t y, uint16_t point);
void LCD_setWindowArea(uint16_t StartX, uint16_t StartY, uint16_t width, uint16_t heigh); void LCD_setWindowArea(uint16_t StartX, uint16_t StartY, uint16_t width, uint16_t height);
void LCD_WriteRAM_Prepare(); void LCD_WriteRAM_Prepare();
void lcd_draw_logo(); void lcd_draw_logo();
void lv_encoder_pin_init(); void lv_encoder_pin_init();

View File

@ -225,7 +225,7 @@ static bool longName2DosName(const char *longName, char *dosName) {
else if (status_bits & 0x2) { else if (status_bits & 0x2) {
// DMA transmit complete // DMA transmit complete
if (esp_state == TRANSFER_IDLE) if (esp_state == TRANSFER_IDLE)
esp_state = TRANSFERING; esp_state = TRANSFERRING;
if (storeRcvData(WIFISERIAL.usart_device->rb->buf, UART_RX_BUFFER_SIZE)) { if (storeRcvData(WIFISERIAL.usart_device->rb->buf, UART_RX_BUFFER_SIZE)) {
esp_dma_pre(); esp_dma_pre();
@ -1819,7 +1819,7 @@ void wifi_rcv_handle() {
#ifdef __STM32F1__ #ifdef __STM32F1__
if (esp_state == TRANSFER_STORE) { if (esp_state == TRANSFER_STORE) {
if (storeRcvData(WIFISERIAL.wifiRxBuf, UART_RX_BUFFER_SIZE)) { if (storeRcvData(WIFISERIAL.wifiRxBuf, UART_RX_BUFFER_SIZE)) {
esp_state = TRANSFERING; esp_state = TRANSFERRING;
esp_dma_pre(); esp_dma_pre();
if (wifiTransError.flag != 0x1) WIFI_IO1_RESET(); if (wifiTransError.flag != 0x1) WIFI_IO1_RESET();
} }

View File

@ -137,7 +137,7 @@ typedef enum {
typedef enum { typedef enum {
TRANSFER_IDLE, TRANSFER_IDLE,
TRANSFERING, TRANSFERRING,
TRANSFER_STORE, TRANSFER_STORE,
} TRANSFER_STATE; } TRANSFER_STATE;
extern volatile TRANSFER_STATE esp_state; extern volatile TRANSFER_STATE esp_state;

View File

@ -90,7 +90,7 @@ uint8_t UHS_USB_HOST_BASE::setEpInfoEntry(uint8_t addr, uint8_t iface, uint8_t e
} }
/** /**
* sets all enpoint addresses to zero. * sets all endpoint addresses to zero.
* Sets all max packet sizes to defaults * Sets all max packet sizes to defaults
* Clears all endpoint attributes * Clears all endpoint attributes
* Sets bmNakPower to USB_NAK_DEFAULT * Sets bmNakPower to USB_NAK_DEFAULT

View File

@ -140,7 +140,7 @@ AJK_IIF(AJK_BITAND(AJK_IS_COMPARABLE(x))(AJK_IS_COMPARABLE(y)) ) \
#define AJK_MAKE_FUNS(AJK_v, AJK_args, AJK_count, AJK_body) AJK_EVAL(AJK_REPEAT(AJK_count, AJK_FUN, AJK_v, AJK_args, AJK_body)) #define AJK_MAKE_FUNS(AJK_v, AJK_args, AJK_count, AJK_body) AJK_EVAL(AJK_REPEAT(AJK_count, AJK_FUN, AJK_v, AJK_args, AJK_body))
#ifdef AJK_TEST_MACRO_LOGIC #ifdef AJK_TEST_MACRO_LOGIC
#define BODY(AJKindex) some(C, statement); contaning(a, test[AJKindex]); #define BODY(AJKindex) some(C, statement); containing(a, test[AJKindex]);
#define ZERO_TIMES_TEST 0 #define ZERO_TIMES_TEST 0
#define THREE_TIMES_TEST 3 #define THREE_TIMES_TEST 3
blank > AJK_MAKE_LIST(VARIABLE_, ZERO_TIMES_TEST) < because zero repeats blank > AJK_MAKE_LIST(VARIABLE_, ZERO_TIMES_TEST) < because zero repeats