diff options
Diffstat (limited to 'keyboards/ergo42/rev1/config.h')
| -rw-r--r-- | keyboards/ergo42/rev1/config.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/ergo42/rev1/config.h b/keyboards/ergo42/rev1/config.h index f8fae93cf..3850be968 100644 --- a/keyboards/ergo42/rev1/config.h +++ b/keyboards/ergo42/rev1/config.h | |||
| @@ -17,8 +17,7 @@ You should have received a copy of the GNU General Public License | |||
| 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 | */ | 18 | */ |
| 19 | 19 | ||
| 20 | #ifndef REV1_CONFIG_H | 20 | #pragma once |
| 21 | #define REV1_CONFIG_H | ||
| 22 | 21 | ||
| 23 | #include "config_common.h" | 22 | #include "config_common.h" |
| 24 | 23 | ||
| @@ -40,8 +39,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } | 39 | #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } |
| 41 | // #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6 } //uncomment this line and comment line above if you need to reverse left-to-right key order | 40 | // #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6 } //uncomment this line and comment line above if you need to reverse left-to-right key order |
| 42 | 41 | ||
| 43 | /* define tapping term */ | 42 | /* COL2ROW, ROW2COL*/ |
| 44 | #define TAPPING_TERM 100 | 43 | #define DIODE_DIRECTION COL2ROW |
| 44 | |||
| 45 | #define SOFT_SERIAL_PIN D0 | ||
| 45 | 46 | ||
| 46 | /* define if matrix has ghost */ | 47 | /* define if matrix has ghost */ |
| 47 | //#define MATRIX_HAS_GHOST | 48 | //#define MATRIX_HAS_GHOST |
| @@ -59,7 +60,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 59 | 60 | ||
| 60 | /* ws2812 RGB LED */ | 61 | /* ws2812 RGB LED */ |
| 61 | #define RGB_DI_PIN D3 | 62 | #define RGB_DI_PIN D3 |
| 62 | |||
| 63 | #define RGBLED_NUM 12 // Number of LEDs | 63 | #define RGBLED_NUM 12 // Number of LEDs |
| 64 | 64 | ||
| 65 | /* | 65 | /* |
| @@ -79,5 +79,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 79 | //#define NO_ACTION_ONESHOT | 79 | //#define NO_ACTION_ONESHOT |
| 80 | //#define NO_ACTION_MACRO | 80 | //#define NO_ACTION_MACRO |
| 81 | //#define NO_ACTION_FUNCTION | 81 | //#define NO_ACTION_FUNCTION |
| 82 | |||
| 83 | #endif | ||
