Migrate some tmk_core files to quantum (#11791)
* Migrate some tmk_core files to quantum * Fix build errorsmiryoku-merge-master
parent
7e82879553
commit
99bffc2a21
@ -1,3 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include "common/matrix.h"
|
|
||||||
@ -1,14 +1,13 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/*--------------------------------------------------------------------
|
|
||||||
* Ring buffer to store scan codes from keyboard
|
|
||||||
*------------------------------------------------------------------*/
|
|
||||||
#ifndef RBUF_SIZE
|
|
||||||
# define RBUF_SIZE 32
|
|
||||||
#endif
|
|
||||||
#include <util/atomic.h>
|
#include <util/atomic.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
#ifndef RBUF_SIZE
|
||||||
|
# define RBUF_SIZE 32
|
||||||
|
#endif
|
||||||
|
|
||||||
static uint8_t rbuf[RBUF_SIZE];
|
static uint8_t rbuf[RBUF_SIZE];
|
||||||
static uint8_t rbuf_head = 0;
|
static uint8_t rbuf_head = 0;
|
||||||
static uint8_t rbuf_tail = 0;
|
static uint8_t rbuf_tail = 0;
|
||||||
Loading…
Reference in New Issue