Tidy up backlight header use to avoid build issues (#6714)

better_chibios_wait
Joel Challis 6 years ago committed by GitHub
parent 251b4fb79d
commit ad3e4d6c13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      keyboards/chimera_ergo/chimera_ergo.h
  2. 3
      keyboards/chimera_ls/chimera_ls.h
  3. 3
      keyboards/chimera_ortho/chimera_ortho.h
  4. 3
      keyboards/comet46/comet46.h
  5. 4
      keyboards/dichotomy/dichotomy.h
  6. 5
      keyboards/honeycomb/honeycomb.h
  7. 3
      keyboards/mitosis/mitosis.h
  8. 3
      keyboards/redox_w/redox_w.h
  9. 3
      keyboards/telophase/telophase.h

@ -2,9 +2,6 @@
#define CHIMERA_ERGO_H #define CHIMERA_ERGO_H
#include "quantum.h" #include "quantum.h"
#include "matrix.h"
#include "backlight.h"
#include <stddef.h>
#define red_led_off PORTF |= (1<<5) #define red_led_off PORTF |= (1<<5)
#define red_led_on PORTF &= ~(1<<5) #define red_led_on PORTF &= ~(1<<5)

@ -2,9 +2,6 @@
#define CHIMERA_LETS_SPLIT_H #define CHIMERA_LETS_SPLIT_H
#include "quantum.h" #include "quantum.h"
#include "matrix.h"
#include "backlight.h"
#include <stddef.h>
#define red_led_off PORTF |= (1<<5) #define red_led_off PORTF |= (1<<5)
#define red_led_on PORTF &= ~(1<<5) #define red_led_on PORTF &= ~(1<<5)

@ -2,9 +2,6 @@
#define CHIMERA_ORTHO_H #define CHIMERA_ORTHO_H
#include "quantum.h" #include "quantum.h"
#include "matrix.h"
#include "backlight.h"
#include <stddef.h>
#define red_led_off PORTF |= (1<<5) #define red_led_off PORTF |= (1<<5)
#define red_led_on PORTF &= ~(1<<5) #define red_led_on PORTF &= ~(1<<5)

@ -2,9 +2,6 @@
#define COMET46_H #define COMET46_H
#include "quantum.h" #include "quantum.h"
#include "matrix.h"
#include "backlight.h"
#include <stddef.h>
// This a shortcut to help you visually see your layout. // This a shortcut to help you visually see your layout.
// The first section contains all of the arguements // The first section contains all of the arguements

@ -1,13 +1,9 @@
#ifndef DICHOTOMY_H #ifndef DICHOTOMY_H
#define DICHOTOMY_H #define DICHOTOMY_H
#include QMK_KEYBOARD_H
#include "report.h" #include "report.h"
#include "pointing_device.h" #include "pointing_device.h"
#include "quantum.h" #include "quantum.h"
#include "matrix.h"
#include "backlight.h"
#include <stddef.h>
#define red_led_off() PORTF |= (1<<6) #define red_led_off() PORTF |= (1<<6)
#define red_led_on() PORTF &= ~(1<<6) #define red_led_on() PORTF &= ~(1<<6)

@ -1,11 +1,6 @@
#pragma once #pragma once
#define HONEYCOMB_H
#include "quantum.h" #include "quantum.h"
#include "matrix.h"
#include "backlight.h"
#include <stddef.h>
#define RED_LED_OFF() writePinHigh(F6) #define RED_LED_OFF() writePinHigh(F6)
#define RED_LED_ON() writePinLow(F6) #define RED_LED_ON() writePinLow(F6)

@ -2,9 +2,6 @@
#define MITOSIS_H #define MITOSIS_H
#include "quantum.h" #include "quantum.h"
#include "matrix.h"
#include "backlight.h"
#include <stddef.h>
#define red_led_off PORTF |= (1<<5) #define red_led_off PORTF |= (1<<5)
#define red_led_on PORTF &= ~(1<<5) #define red_led_on PORTF &= ~(1<<5)

@ -1,9 +1,6 @@
#pragma once #pragma once
#include "quantum.h" #include "quantum.h"
#include "matrix.h"
#include "backlight.h"
#include <stddef.h>
#define red_led_off PORTF |= (1<<5) #define red_led_off PORTF |= (1<<5)
#define red_led_on PORTF &= ~(1<<5) #define red_led_on PORTF &= ~(1<<5)

@ -2,9 +2,6 @@
#define TELOPHASE_H #define TELOPHASE_H
#include "quantum.h" #include "quantum.h"
#include "matrix.h"
#include "backlight.h"
#include <stddef.h>
#define red_led_off PORTF |= (1<<5) #define red_led_off PORTF |= (1<<5)
#define red_led_on PORTF &= ~(1<<5) #define red_led_on PORTF &= ~(1<<5)

Loading…
Cancel
Save