~ruther/qmk_firmware

20dca46924866851a42861529ede8247c35c52e4 — Ryan 2 years ago dc18d9d
Remove pointless `USE_I2C` blocks in keyboard headers (#20084)

M keyboards/adkb96/rev1/rev1.h => keyboards/adkb96/rev1/rev1.h +0 -8
@@ 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( \

M keyboards/ergotravel/rev1/rev1.h => keyboards/ergotravel/rev1/rev1.h +0 -8
@@ 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( \

M keyboards/handwired/dactyl_promicro/dactyl_promicro.h => keyboards/handwired/dactyl_promicro/dactyl_promicro.h +0 -9
@@ 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, \

M keyboards/keebio/iris/rev1/rev1.h => keyboards/keebio/iris/rev1/rev1.h +0 -8
@@ 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, \

M keyboards/keebio/iris/rev1_led/rev1_led.h => keyboards/keebio/iris/rev1_led/rev1_led.h +0 -8
@@ 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, \

M keyboards/keebio/iris/rev2/rev2.h => keyboards/keebio/iris/rev2/rev2.h +0 -8
@@ 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, \

M keyboards/keebio/iris/rev3/rev3.h => keyboards/keebio/iris/rev3/rev3.h +0 -9
@@ 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, \

M keyboards/keebio/iris/rev4/rev4.h => keyboards/keebio/iris/rev4/rev4.h +0 -8
@@ 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, \

M keyboards/keebio/levinson/rev1/rev1.h => keyboards/keebio/levinson/rev1/rev1.h +0 -8
@@ 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)

M keyboards/keebio/levinson/rev2/rev2.h => keyboards/keebio/levinson/rev2/rev2.h +0 -8
@@ 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)

M keyboards/keebio/levinson/rev3/rev3.h => keyboards/keebio/levinson/rev3/rev3.h +0 -8
@@ 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, \

M keyboards/keebio/nyquist/rev1/rev1.h => keyboards/keebio/nyquist/rev1/rev1.h +0 -8
@@ 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)

M keyboards/keebio/nyquist/rev2/rev2.h => keyboards/keebio/nyquist/rev2/rev2.h +0 -8
@@ 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)

M keyboards/keebio/nyquist/rev3/rev3.h => keyboards/keebio/nyquist/rev3/rev3.h +0 -8
@@ 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, \

M keyboards/keebio/quefrency/rev1/rev1.h => keyboards/keebio/quefrency/rev1/rev1.h +0 -9
@@ 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, \

M keyboards/keebio/quefrency/rev2/rev2.h => keyboards/keebio/quefrency/rev2/rev2.h +0 -8
@@ 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, \

M keyboards/keebio/rorschach/rev1/rev1.h => keyboards/keebio/rorschach/rev1/rev1.h +0 -8
@@ 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, \

M keyboards/keebio/sinc/rev1/rev1.h => keyboards/keebio/sinc/rev1/rev1.h +0 -8
@@ 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, \

M keyboards/keebio/sinc/rev2/rev2.h => keyboards/keebio/sinc/rev2/rev2.h +0 -8
@@ 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, \

M keyboards/keebio/viterbi/rev1/rev1.h => keyboards/keebio/viterbi/rev1/rev1.h +0 -8
@@ 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)

M keyboards/keebio/viterbi/rev2/rev2.h => keyboards/keebio/viterbi/rev2/rev2.h +0 -9
@@ 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, \

M keyboards/lets_split/rev2/rev2.h => keyboards/lets_split/rev2/rev2.h +0 -8
@@ 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)

M keyboards/lets_split/sockets/sockets.h => keyboards/lets_split/sockets/sockets.h +0 -8
@@ 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)

M keyboards/lily58/rev1/rev1.h => keyboards/lily58/rev1/rev1.h +0 -8
@@ 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,  \

M keyboards/omkbd/ergodash/mini/mini.h => keyboards/omkbd/ergodash/mini/mini.h +0 -8
@@ 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)

M keyboards/omkbd/ergodash/rev1/rev1.h => keyboards/omkbd/ergodash/rev1/rev1.h +0 -8
@@ 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

M keyboards/pinky/3/3.h => keyboards/pinky/3/3.h +0 -8
@@ 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_split_3x7_4( \
  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, \

M keyboards/pinky/4/4.h => keyboards/pinky/4/4.h +0 -8
@@ 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_split_4x7_4( \
  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, \

M keyboards/qwertyydox/rev1/rev1.h => keyboards/qwertyydox/rev1/rev1.h +0 -8
@@ 2,14 2,6 @@

#include "qwertyydox.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,            R10, R11, R12, R13, R14, R15, R16, \

M keyboards/redox/rev1/rev1.h => keyboards/redox/rev1/rev1.h +0 -8
@@ 8,14 8,6 @@

#include "quantum.h"

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

#define LAYOUT( \
  k00, k01, k02, k03, k04, k05,                          k08, k09, k10, k11, k12, k13, \
  k14, k15, k16, k17, k18, k19, k06,                k07, k22, k23, k24, k25, k26, k27, \

M keyboards/salicylic_acid3/naked48/rev1/rev1.h => keyboards/salicylic_acid3/naked48/rev1/rev1.h +0 -8
@@ 25,14 25,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
#include "ws2812.h"
#endif

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

//////////////////////////////////////////////////////////////////////////////
// When only use Naked48.
//////////////////////////////////////////////////////////////////////////////

M keyboards/unikeyboard/diverge3/diverge3.h => keyboards/unikeyboard/diverge3/diverge3.h +0 -8
@@ 18,14 18,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

// This a shortcut to help you visually see your layout.

M keyboards/unikeyboard/divergetm2/divergetm2.h => keyboards/unikeyboard/divergetm2/divergetm2.h +0 -8
@@ 19,14 19,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)

M keyboards/vitamins_included/vitamins_included.h => keyboards/vitamins_included/vitamins_included.h +0 -8
@@ 8,14 8,6 @@
    #include "rev2.h"
#endif

#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, \