mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-23 00:47:02 +06:00
28 lines
717 B
C
28 lines
717 B
C
|
// Copyright 2023 eerraa (@era)
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
/*
|
||
|
* Feature disable options
|
||
|
* These options are also useful to firmware size reduction.
|
||
|
*/
|
||
|
|
||
|
/* disable debug print */
|
||
|
//#define NO_DEBUG
|
||
|
|
||
|
/* disable print */
|
||
|
//#define NO_PRINT
|
||
|
|
||
|
/* disable action features */
|
||
|
//#define NO_ACTION_LAYER
|
||
|
//#define NO_ACTION_TAPPING
|
||
|
//#define NO_ACTION_ONESHOT
|
||
|
|
||
|
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
|
||
|
|
||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET // Activates the double-tap behavior
|
||
|
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U // Timeout window in ms in which the double tap can occur.
|
||
|
|
||
|
#define BACKLIGHT_PWM_DRIVER PWMD0
|
||
|
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A
|