diff options
Diffstat (limited to 'keyboards/comet46')
-rw-r--r-- | keyboards/comet46/keymaps/satt/config.h | 5 | ||||
-rw-r--r-- | keyboards/comet46/matrix.c | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/keyboards/comet46/keymaps/satt/config.h b/keyboards/comet46/keymaps/satt/config.h index c99de2cf8..a3ca2ebfe 100644 --- a/keyboards/comet46/keymaps/satt/config.h +++ b/keyboards/comet46/keymaps/satt/config.h @@ -21,11 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifndef CONFIG_USER_H #define CONFIG_USER_H -/* key combination for command */ -#define IS_COMMAND() ( \ - keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ -) - /* Use I2C or Serial */ #define USE_I2C diff --git a/keyboards/comet46/matrix.c b/keyboards/comet46/matrix.c index 66d29f8b3..dc38ba74f 100644 --- a/keyboards/comet46/matrix.c +++ b/keyboards/comet46/matrix.c @@ -102,7 +102,7 @@ uint8_t matrix_scan(void) if (timeout > 10000){ break; } - } + } uart_data[i] = SERIAL_UART_DATA; } @@ -124,7 +124,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 |