diff --git a/keyboards/helix/config.h b/keyboards/helix/config.h index a6f54d7afa3..875312f0c35 100644 --- a/keyboards/helix/config.h +++ b/keyboards/helix/config.h @@ -26,8 +26,6 @@ along with this program. If not, see . // -include keyboards/helix/rev?/keymaps/MAPNAME/config.h // XXXX.c -#include - // GCC include search path in qmk_firmare/keyboards/helix/ // #include "..." search starts here: // #include <...> search starts here: diff --git a/keyboards/helix/pico/config.h b/keyboards/helix/pico/config.h index cbeef6e8696..260560f556f 100644 --- a/keyboards/helix/pico/config.h +++ b/keyboards/helix/pico/config.h @@ -34,6 +34,11 @@ along with this program. If not, see . #define USE_SERIAL //#define USE_MATRIX_I2C +/* Soft Serial defines */ +#define SOFT_SERIAL_PIN D2 +#define SERIAL_SLAVE_BUFFER_LENGTH ((MATRIX_ROWS)/2) +#define SERIAL_MASTER_BUFFER_LENGTH ((MATRIX_ROWS)/2) + /* Select hand configuration */ #define MASTER_LEFT // #define MASTER_RIGHT diff --git a/keyboards/helix/pico/serial_config.h b/keyboards/helix/pico/serial_config.h deleted file mode 100644 index fc8736d4729..00000000000 --- a/keyboards/helix/pico/serial_config.h +++ /dev/null @@ -1,9 +0,0 @@ -//// #error rev2 serial config - -#ifndef SOFT_SERIAL_PIN -/* Soft Serial defines */ -#define SOFT_SERIAL_PIN D2 - -#define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2 -#define SERIAL_MASTER_BUFFER_LENGTH MATRIX_ROWS/2 -#endif diff --git a/keyboards/helix/rev1/config.h b/keyboards/helix/rev1/config.h index bb72a15d817..244c12b5dd5 100644 --- a/keyboards/helix/rev1/config.h +++ b/keyboards/helix/rev1/config.h @@ -26,6 +26,8 @@ along with this program. If not, see . #define PRODUCT Helix Alpha #define DESCRIPTION A split keyboard for the cheap makers +#include + #define HELIX_ROWS 5 /* key matrix size */ diff --git a/keyboards/helix/rev2/config.h b/keyboards/helix/rev2/config.h index 4514a37564b..943a02bf8ba 100644 --- a/keyboards/helix/rev2/config.h +++ b/keyboards/helix/rev2/config.h @@ -34,6 +34,10 @@ along with this program. If not, see . #define USE_SERIAL //#define USE_MATRIX_I2C +/* Soft Serial defines */ +#define SOFT_SERIAL_PIN D2 +#define SERIAL_USE_MULTI_TRANSACTION + /* Select hand configuration */ #define MASTER_LEFT // #define MASTER_RIGHT diff --git a/keyboards/helix/rev2/serial_config.h b/keyboards/helix/rev2/serial_config.h deleted file mode 100644 index 37135213d55..00000000000 --- a/keyboards/helix/rev2/serial_config.h +++ /dev/null @@ -1,8 +0,0 @@ -//// #error rev2 serial config - -#ifndef SOFT_SERIAL_PIN -/* Soft Serial defines */ -#define SOFT_SERIAL_PIN D2 - -#define SERIAL_USE_MULTI_TRANSACTION -#endif