Remove quantum.h
includes from keyboard custom matrix.c
s (#23371)
This commit is contained in:
parent
76bd5142cf
commit
2dd406f08f
97 changed files with 104 additions and 244 deletions
|
@ -15,14 +15,7 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <avr/io.h>
|
||||
|
||||
#include "spi_master.h"
|
||||
#include "quantum.h"
|
||||
#include "matrix.h"
|
||||
|
||||
static pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
|
||||
|
|
|
@ -13,8 +13,9 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "quantum.h"
|
||||
#include "matrix.h"
|
||||
#include "i2c_master.h"
|
||||
#include "wait.h"
|
||||
#include <string.h>
|
||||
#include "wire-protocol-constants.h"
|
||||
|
||||
|
|
|
@ -14,12 +14,9 @@ GNU General Public License for more details.
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "util.h"
|
||||
#include "matrix.h"
|
||||
#include "debounce.h"
|
||||
#include "quantum.h"
|
||||
#ifndef readPort
|
||||
# include "gpio_extr.h"
|
||||
#endif
|
||||
|
|
|
@ -15,9 +15,6 @@ You should have received a copy of the GNU General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
// clang-format off
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <gpio.h>
|
||||
#ifndef readPort
|
||||
# include "gpio_extr.h"
|
||||
#endif
|
||||
|
@ -25,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include "matrix.h"
|
||||
#include "matrix_extr.h"
|
||||
#include "debounce.h"
|
||||
#include "quantum.h"
|
||||
|
||||
#define ALWAYS_INLINE inline __attribute__((always_inline))
|
||||
#define NO_INLINE __attribute__((noinline))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue