aboutsummaryrefslogtreecommitdiff
path: root/quantum/debounce
diff options
context:
space:
mode:
authorAlex Ong <the.onga@gmail.com>2019-01-26 22:57:39 +1100
committerAlex Ong <the.onga@gmail.com>2019-01-26 22:57:39 +1100
commit039dde3a519d0626b9dbb2c79373f28b36d29af7 (patch)
treef6969f53684cf0dae96aaf38ed4fef8446e0842f /quantum/debounce
parent7cb8d3c7a7fe4de4629af21a92f5415cdfdffa0c (diff)
downloadqmk_firmware-039dde3a519d0626b9dbb2c79373f28b36d29af7.tar.gz
qmk_firmware-039dde3a519d0626b9dbb2c79373f28b36d29af7.zip
Fixed compilation error with debounce_sym_g
Diffstat (limited to 'quantum/debounce')
-rw-r--r--quantum/debounce/debounce_sym_g.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/debounce/debounce_sym_g.c b/quantum/debounce/debounce_sym_g.c
index 63bf2a64b..c8ab34e1a 100644
--- a/quantum/debounce/debounce_sym_g.c
+++ b/quantum/debounce/debounce_sym_g.c
@@ -16,9 +16,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
16Basic global debounce algorithm. Used in 99% of keyboards at time of implementation 16Basic global debounce algorithm. Used in 99% of keyboards at time of implementation
17When no state changes have occured for DEBOUNCE milliseconds, we push the state. 17When no state changes have occured for DEBOUNCE milliseconds, we push the state.
18*/ 18*/
19#include "debounce.h"
20#include "matrix.h" 19#include "matrix.h"
21#include "timer.h" 20#include "timer.h"
21#include "quantum.h"
22#ifndef DEBOUNCE 22#ifndef DEBOUNCE
23 #define DEBOUNCE 5 23 #define DEBOUNCE 5
24#endif 24#endif
@@ -51,7 +51,7 @@ void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool
51} 51}
52#endif 52#endif
53 53
54bool debounce_active() { 54bool debounce_active(void) {
55 return debouncing; 55 return debouncing;
56} 56}
57 57