Skip to content

Commit

Permalink
Remove pointless USE_I2C blocks in keyboard headers (#20084)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Mar 10, 2023
1 parent dc18d9d commit 20dca46
Show file tree
Hide file tree
Showing 34 changed files with 0 additions and 276 deletions.
8 changes: 0 additions & 8 deletions keyboards/adkb96/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

#include "adkb96.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

// Keymap with right side flipped
// (TRRS jack on both halves are to the right)
#define LAYOUT_ortho_6x16( \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/ergotravel/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define XXX KC_NO

#define LAYOUT( \
Expand Down
9 changes: 0 additions & 9 deletions keyboards/handwired/dactyl_promicro/dactyl_promicro.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif


#define LAYOUT_6x6(\
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/iris/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT( \
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/iris/rev1_led/rev1_led.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT( \
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/iris/rev2/rev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT( \
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
Expand Down
9 changes: 0 additions & 9 deletions keyboards/keebio/iris/rev3/rev3.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@
#include "iris.h"
#include "quantum.h"


#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT( \
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/iris/rev4/rev4.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
#include "iris.h"
#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT( \
LA1, LA2, LA3, LA4, LA5, LA6, RA6, RA5, RA4, RA3, RA2, RA1, \
LB1, LB2, LB3, LB4, LB5, LB6, RB6, RB5, RB4, RB3, RB2, RB1, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/levinson/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#ifndef FLIP_HALF
// Standard Keymap
// (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left)
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/levinson/rev2/rev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#ifndef FLIP_HALF
// Standard Keymap
// (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left)
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/levinson/rev3/rev3.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT( \
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/nyquist/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#ifndef FLIP_HALF
// Standard Keymap
// (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left)
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/nyquist/rev2/rev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#ifndef FLIP_HALF
// Standard Keymap
// (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left)
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/nyquist/rev3/rev3.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
#include "nyquist.h"
#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT( \
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
Expand Down
9 changes: 0 additions & 9 deletions keyboards/keebio/quefrency/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@

#include "quantum.h"


#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT( \
LA1, LA2, LA3, LA4, LA5, LA6, LA7, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \
LB1, LB2, LB3, LB4, LB5, LB6, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/quefrency/rev2/rev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
#include "quefrency.h"
#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT_60( \
LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \
LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/rorschach/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT( \
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/sinc/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
#include "sinc.h"
#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT_75( \
LF3, LF4, LF5, LF6, LF7, LF8, LF9, RF2, RF3, RF4, RF5, RF6, RF7, RF8, \
LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/sinc/rev2/rev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "sinc.h"
#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT_75( \
LF3, LF4, LF5, LF6, LF7, LF8, LF9, RF2, RF3, RF4, RF5, RF6, RF7, RF8, \
LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/keebio/viterbi/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
#include "viterbi.h"
#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#ifndef FLIP_HALF
// Standard Keymap
// (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left)
Expand Down
9 changes: 0 additions & 9 deletions keyboards/keebio/viterbi/rev2/rev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@
#include "viterbi.h"
#include "quantum.h"


#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define LAYOUT( \
L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \
L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/lets_split/rev2/rev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#ifndef FLIP_HALF
// Standard Keymap
// (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left)
Expand Down
8 changes: 0 additions & 8 deletions keyboards/lets_split/sockets/sockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#ifndef FLIP_HALF
// Standard Keymap
// (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left)
Expand Down
8 changes: 0 additions & 8 deletions keyboards/lily58/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@
#include "ws2812.h"
#endif

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#ifndef FLIP_HALF
#define LAYOUT( \
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
Expand Down
8 changes: 0 additions & 8 deletions keyboards/omkbd/ergodash/mini/mini.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#ifndef FLIP_HALF
// Standard Keymap
// (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left)
Expand Down
8 changes: 0 additions & 8 deletions keyboards/omkbd/ergodash/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

#include "quantum.h"

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#endif

#define XXX KC_NO

#ifndef FLIP_HALF
Expand Down
Loading

0 comments on commit 20dca46

Please sign in to comment.