Spell check source code, fix mistakes.
This commit is contained in:
parent
544027da18
commit
3808f5c36d
41 changed files with 63 additions and 63 deletions
|
@ -38,7 +38,7 @@
|
|||
#include "AVRISPDescriptors.h"
|
||||
|
||||
#if defined(RESET_TOGGLES_LIBUSB_COMPAT) || defined(__DOXYGEN__)
|
||||
/** Indicates if an external reset has ocurred and the compatibility mode needs to be altered */
|
||||
/** Indicates if an external reset has occurred and the compatibility mode needs to be altered */
|
||||
static bool AVRISP_NeedCompatibilitySwitch ATTR_NO_INIT;
|
||||
|
||||
/** Current AVRISP data IN endpoint address. */
|
||||
|
@ -255,7 +255,7 @@ uint16_t AVRISP_GetDescriptor(const uint16_t wValue,
|
|||
*/
|
||||
void CheckExternalReset(void)
|
||||
{
|
||||
/* If an external reset occured, we need to change compatibility mode */
|
||||
/* If an external reset occurred, we need to change compatibility mode */
|
||||
AVRISP_NeedCompatibilitySwitch = (MCUSR == (1 << EXTRF));
|
||||
|
||||
MCUSR = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue