Skip to content

Commit

Permalink
style(spi): remove redundant eslint comments
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed Aug 22, 2020
1 parent ad8f519 commit 31abc2b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/peripherals/spi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export interface SPIConfig {
SPDR: u8;
}

/* eslint-disable @typescript-eslint/no-unused-vars */
// Register bits:
const SPCR_SPIE = 0x80; // SPI Interrupt Enable
const SPCR_SPE = 0x40; // SPI Enable
Expand All @@ -25,7 +24,6 @@ const SPSR_SPR_MASK = SPCR_SPR1 | SPCR_SPR0;
const SPSR_SPIF = 0x80; // SPI Interrupt Flag
const SPSR_WCOL = 0x40; // Write COLlision Flag
const SPSR_SPI2X = 0x1; // Double SPI Speed Bit
/* eslint-enable @typescript-eslint/no-unused-vars */

export const spiConfig: SPIConfig = {
spiInterrupt: 0x22,
Expand Down

0 comments on commit 31abc2b

Please sign in to comment.