Keyboard: Crkbd: move I2C and Serial defines to keyboard's config.h (#3970)
* Crkbd: move I2C and Serial defines to keyboard's config.h per @drashna on Discord * Crkbd: remove misleading comment re: I2C and Serial USE_I2C and USE_SERIAL are usually a "one or the other"-type deal, but this keyboard uses both.
This commit is contained in:
parent
ce057ea474
commit
07d317ab88
3 changed files with 3 additions and 8 deletions
|
@ -21,6 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include "config_common.h"
|
#include "config_common.h"
|
||||||
#include <serial_config.h>
|
#include <serial_config.h>
|
||||||
|
|
||||||
|
#define USE_I2C
|
||||||
|
#define USE_SERIAL
|
||||||
|
|
||||||
#ifdef USE_Link_Time_Optimization
|
#ifdef USE_Link_Time_Optimization
|
||||||
// LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
|
// LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
|
||||||
// so just disable them
|
// so just disable them
|
||||||
|
|
|
@ -20,10 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/* Use I2C or Serial */
|
|
||||||
|
|
||||||
#define USE_I2C
|
|
||||||
#define USE_SERIAL
|
|
||||||
//#define USE_MATRIX_I2C
|
//#define USE_MATRIX_I2C
|
||||||
|
|
||||||
/* Select hand configuration */
|
/* Select hand configuration */
|
||||||
|
|
|
@ -20,10 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/* Use I2C or Serial */
|
|
||||||
|
|
||||||
#define USE_I2C
|
|
||||||
#define USE_SERIAL
|
|
||||||
//#define USE_MATRIX_I2C
|
//#define USE_MATRIX_I2C
|
||||||
|
|
||||||
/* Select hand configuration */
|
/* Select hand configuration */
|
||||||
|
|
Loading…
Reference in a new issue