🐛 Spellcheck comments (#22496)
codespell -q 3 --builtin=clear,rare,informal,code -S ./Marlin/src/lcd/language -L alo,amin,endcode,stdio,uint
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
/**
|
||||
* DiskIO Interace
|
||||
* DiskIO Interface
|
||||
*
|
||||
* Interface for low level disk io
|
||||
*/
|
||||
|
@ -114,7 +114,7 @@ typedef MAX3421e<P10, P9> MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega
|
||||
|
||||
#define USB_NUMDEVICES 16 //number of USB devices
|
||||
//#define HUB_MAX_HUBS 7 // maximum number of hubs that can be attached to the host controller
|
||||
#define HUB_PORT_RESET_DELAY 20 // hub port reset delay 10 ms recomended, can be up to 20 ms
|
||||
#define HUB_PORT_RESET_DELAY 20 // hub port reset delay 10 ms recommended, can be up to 20 ms
|
||||
|
||||
/* USB state machine states */
|
||||
#define USB_STATE_MASK 0xF0
|
||||
|
@ -57,7 +57,7 @@ class ConfigDescParser : public USBReadParser {
|
||||
uint8_t dscrLen; // Descriptor length
|
||||
uint8_t dscrType; // Descriptor type
|
||||
|
||||
bool isGoodInterface; // Apropriate interface flag
|
||||
bool isGoodInterface; // Appropriate interface flag
|
||||
uint8_t confValue; // Configuration value
|
||||
uint8_t protoValue; // Protocol value
|
||||
uint8_t ifaceNumber; // Interface number
|
||||
|
@ -248,7 +248,7 @@ e-mail : support@circuitsathome.com
|
||||
#define UHS_HOST_TRANSFER_MAX_MS 10000 // USB transfer timeout in ms, per section 9.2.6.1 of USB 2.0 spec
|
||||
#define UHS_HOST_TRANSFER_RETRY_MAXIMUM 3 // 3 retry limit for a transfer
|
||||
#define UHS_HOST_DEBOUNCE_DELAY_MS 500 // settle delay in milliseconds
|
||||
#define UHS_HUB_RESET_DELAY_MS 20 // hub port reset delay, 10ms recomended, but can be up to 20ms
|
||||
#define UHS_HUB_RESET_DELAY_MS 20 // hub port reset delay, 10ms recommended, but can be up to 20ms
|
||||
|
||||
//
|
||||
// We only provide the minimum needed information for enumeration.
|
||||
|
@ -150,7 +150,7 @@ e-mail : support@circuitsathome.com
|
||||
// HANDY MACROS
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Atmoically set/clear single bits using bitbands.
|
||||
// Atomically set/clear single bits using bitbands.
|
||||
// Believe it or not, this boils down to a constant,
|
||||
// and is less code than using |= &= operators.
|
||||
// Bonus, it makes code easier to read too.
|
||||
|
Reference in New Issue
Block a user