aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/dichotomy
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dichotomy')
-rwxr-xr-xkeyboards/dichotomy/config.h6
-rwxr-xr-xkeyboards/dichotomy/matrix.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/keyboards/dichotomy/config.h b/keyboards/dichotomy/config.h
index f0847ec52..2fc098fe3 100755
--- a/keyboards/dichotomy/config.h
+++ b/keyboards/dichotomy/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/dichotomy/matrix.c b/keyboards/dichotomy/matrix.c
index 14c3f0d8e..f14c90128 100755
--- a/keyboards/dichotomy/matrix.c
+++ b/keyboards/dichotomy/matrix.c
@@ -198,7 +198,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