Skip to content

Commit

Permalink
Fix two silly linting errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpenceKonde committed Mar 23, 2022
1 parent fbc321a commit ab686ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion megaavr/libraries/EEPROM/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ This function returns a reference to the `object` passed in. It does not need to
### Subscript operator: `EEPROM[address]` [[*example*]](examples/eeprom_crc/eeprom_crc.ino)

This operator allows using the identifier `EEPROM` like an array.
EEPROM cells can be read *and* **_written_** directly using this method.
EEPROM cells can be read *and* **written** directly using this method.

This operator returns a reference to the EEPROM cell.

Expand Down
3 changes: 2 additions & 1 deletion megaavr/libraries/SPI/src/SPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ void SPIClass::begin() {
}

void SPIClass::init() {
if (initialized)
if (initialized) {
return;
}
interruptMode = SPI_IMODE_NONE;
#ifdef CORE_ATTACH_OLD
interruptSave = 0;
Expand Down

0 comments on commit ab686ad

Please sign in to comment.