Browse Source

Remove `DEBOUNCE` macro usage (#19750)

pull/19468/head
jack 1 year ago
committed by GitHub
parent
commit
d5e622b979
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 57 additions and 1 deletions
  1. +4
    -0
      keyboards/baguette/baguette.c
  2. +4
    -0
      keyboards/bpiphany/pegasushoof/2013/matrix.c
  3. +4
    -0
      keyboards/dp60/matrix.c
  4. +4
    -0
      keyboards/duck/eagle_viper/v2/matrix.c
  5. +4
    -0
      keyboards/duck/jetfire/matrix.c
  6. +4
    -0
      keyboards/duck/lightsaver/matrix.c
  7. +4
    -0
      keyboards/duck/octagon/v1/matrix.c
  8. +4
    -0
      keyboards/duck/octagon/v2/matrix.c
  9. +4
    -0
      keyboards/duck/orion/v3/matrix.c
  10. +5
    -1
      keyboards/duck/tcv3/matrix.c
  11. +4
    -0
      keyboards/hs60/v1/v1.c
  12. +4
    -0
      keyboards/matrix/noah/matrix.c
  13. +4
    -0
      keyboards/planck/rev6_drop/matrix.c
  14. +4
    -0
      keyboards/preonic/rev3_drop/matrix.c

+ 4
- 0
keyboards/baguette/baguette.c View File

@ -15,6 +15,10 @@
*/
#include "baguette.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
void bootmagic_lite(void)
{
// The lite version of TMK's bootmagic made by Wilba.


+ 4
- 0
keyboards/bpiphany/pegasushoof/2013/matrix.c View File

@ -26,6 +26,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "util.h"
#include "matrix.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
static uint8_t debouncing = DEBOUNCE;
static matrix_row_t matrix[MATRIX_ROWS];
static matrix_row_t matrix_debouncing[MATRIX_ROWS];


+ 4
- 0
keyboards/dp60/matrix.c View File

@ -15,6 +15,10 @@
*/
#include "quantum.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
static uint8_t debouncing = DEBOUNCE;
static matrix_row_t matrix[MATRIX_ROWS];


+ 4
- 0
keyboards/duck/eagle_viper/v2/matrix.c View File

@ -22,6 +22,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "print.h"
#include "debug.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
static uint8_t debouncing = DEBOUNCE;
/* matrix state(1:on, 0:off) */


+ 4
- 0
keyboards/duck/jetfire/matrix.c View File

@ -21,6 +21,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "util.h"
#include "matrix.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
static uint8_t debouncing = DEBOUNCE;
/* matrix state(1:on, 0:off) */


+ 4
- 0
keyboards/duck/lightsaver/matrix.c View File

@ -22,6 +22,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "print.h"
#include "debug.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
static uint8_t debouncing = DEBOUNCE;
/* matrix state(1:on, 0:off) */


+ 4
- 0
keyboards/duck/octagon/v1/matrix.c View File

@ -22,6 +22,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "print.h"
#include "debug.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
static uint8_t debouncing = DEBOUNCE;
/* matrix state(1:on, 0:off) */


+ 4
- 0
keyboards/duck/octagon/v2/matrix.c View File

@ -22,6 +22,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "print.h"
#include "debug.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
static uint8_t debouncing = DEBOUNCE;
/* matrix state(1:on, 0:off) */


+ 4
- 0
keyboards/duck/orion/v3/matrix.c View File

@ -16,6 +16,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "quantum.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
static uint8_t debouncing = DEBOUNCE;
/* matrix state(1:on, 0:off) */


+ 5
- 1
keyboards/duck/tcv3/matrix.c View File

@ -22,6 +22,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "print.h"
#include "debug.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
static uint8_t debouncing = DEBOUNCE;
/* matrix state(1:on, 0:off) */
@ -277,4 +281,4 @@ static void select_col(uint8_t col) {
PORTB |= 0b00100000;
break;
}
}
}

+ 4
- 0
keyboards/hs60/v1/v1.c View File

@ -307,6 +307,10 @@ led_config_t g_led_config = { {
#endif
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
void bootmagic_lite(void)
{
// The lite version of TMK's bootmagic made by Wilba.


+ 4
- 0
keyboards/matrix/noah/matrix.c View File

@ -13,6 +13,10 @@
#include "print.h"
#include "matrix.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
/**
*
* Row pins are input with internal pull-down.


+ 4
- 0
keyboards/planck/rev6_drop/matrix.c View File

@ -17,6 +17,10 @@
#include "quantum.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
/*
* col: { B11, B10, B2, B1, A7, B0 }
* row: { A10, A9, A8, B15, C13, C14, C15, A2 }


+ 4
- 0
keyboards/preonic/rev3_drop/matrix.c View File

@ -17,6 +17,10 @@
#include "quantum.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
#endif
typedef uint16_t matrix_col_t;
/*


Loading…
Cancel
Save