diff options
Diffstat (limited to 'keyboards/helix/rev2/config.h')
-rw-r--r-- | keyboards/helix/rev2/config.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/helix/rev2/config.h b/keyboards/helix/rev2/config.h index ec7445859..fe82ce140 100644 --- a/keyboards/helix/rev2/config.h +++ b/keyboards/helix/rev2/config.h @@ -16,8 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef REV2_CONFIG_H -#define REV2_CONFIG_H +#pragma once /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED @@ -35,6 +34,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #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 @@ -88,7 +91,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no // see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes #ifdef RGBLED_BACK - #if HELIX_ROWS == 4 + #if MATRIX_ROWS == 8 // HELIX_ROWS == 4 #define RGBLED_NUM 25 #else #define RGBLED_NUM 32 @@ -101,7 +104,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #if RGBLED_NUM <= 6 #define RGBLIGHT_LIMIT_VAL 255 #else - #if HELIX_ROWS == 4 + #if MATRIX_ROWS == 8 // HELIX_ROWS == 4 #define RGBLIGHT_LIMIT_VAL 130 #else #define RGBLIGHT_LIMIT_VAL 120 @@ -112,7 +115,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #if RGBLED_NUM <= 6 #define RGBLIGHT_LIMIT_VAL 90 #else - #if HELIX_ROWS == 4 + #if MATRIX_ROWS == 8 // HELIX_ROWS == 4 #define RGBLIGHT_LIMIT_VAL 45 #else #define RGBLIGHT_LIMIT_VAL 35 @@ -155,4 +158,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION -#endif |