aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/chimera_ergo
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/chimera_ergo')
-rw-r--r--keyboards/chimera_ergo/config.h6
-rw-r--r--keyboards/chimera_ergo/matrix.c4
2 files changed, 2 insertions, 8 deletions
diff --git a/keyboards/chimera_ergo/config.h b/keyboards/chimera_ergo/config.h
index 8ce195cc0..4a47effdd 100644
--- a/keyboards/chimera_ergo/config.h
+++ b/keyboards/chimera_ergo/config.h
@@ -41,12 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ONESHOT_TIMEOUT 500
-
-/* key combination for command */
-#define IS_COMMAND() ( \
- keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
-)
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/chimera_ergo/matrix.c b/keyboards/chimera_ergo/matrix.c
index 21d46ef9b..d512a51d9 100644
--- a/keyboards/chimera_ergo/matrix.c
+++ b/keyboards/chimera_ergo/matrix.c
@@ -112,7 +112,7 @@ uint8_t matrix_scan(void)
if (timeout > 10000){
break;
}
- }
+ }
uart_data[i] = SERIAL_UART_DATA;
}
@@ -134,7 +134,7 @@ uint8_t matrix_scan(void)
inline
bool matrix_is_on(uint8_t row, uint8_t col)
{
- return (matrix[row] & ((matrix_row_t)1<col));
+ return (matrix[row] & ((matrix_row_t)1<<col));
}
inline