Skip to content

Commit

Permalink
Keyboard: Crkbd: move I2C and Serial defines to keyboard's config.h (q…
Browse files Browse the repository at this point in the history
…mk#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.
  • Loading branch information
noroadsleft authored and yamad committed Mar 21, 2019
1 parent c072891 commit c797a63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 3 additions & 0 deletions keyboards/crkbd/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#include <serial_config.h>

#define USE_I2C
#define USE_SERIAL

#ifdef USE_Link_Time_Optimization
// LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
// so just disable them
Expand Down
4 changes: 0 additions & 4 deletions keyboards/crkbd/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

/* Use I2C or Serial */

#define USE_I2C
#define USE_SERIAL
//#define USE_MATRIX_I2C

/* Select hand configuration */
Expand Down
4 changes: 0 additions & 4 deletions keyboards/crkbd/keymaps/like_jis/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

/* Use I2C or Serial */

#define USE_I2C
#define USE_SERIAL
//#define USE_MATRIX_I2C

/* Select hand configuration */
Expand Down

0 comments on commit c797a63

Please sign in to comment.