summary refs log tree commit diff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-10-03 14:17:46 -0700
committerGitHub <noreply@github.com>2021-10-03 22:17:46 +0100
commit6279399425c8893b586f68da06a719b94b48b4e2 (patch)
tree32e77d1b164a53f96ed29e85e122b172d02027b5
parent640869257f996b9f505e73f531b5343dc9124444 (diff)
[Keyboard] Fix Mechlovin's Olly/BB keyboard matrix file (#14680)
-rw-r--r--keyboards/mechlovin/olly/bb/matrix.c69
1 files changed, 35 insertions, 34 deletions
diff --git a/keyboards/mechlovin/olly/bb/matrix.c b/keyboards/mechlovin/olly/bb/matrix.c
index d745f7d2cd..e045299bae 100644
--- a/keyboards/mechlovin/olly/bb/matrix.c
+++ b/keyboards/mechlovin/olly/bb/matrix.c
@@ -17,6 +17,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "matrix.h"
+#include "gpio.h"
 
 static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
 
@@ -27,40 +28,40 @@ static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
  * 0:              0 ── 0 ── 0    1 ── 0    0    0    0
  * ────────────────────────────────────────────
  * 1:              0 ── 0 ── 1    1 ── 0    0    0    0
- * ────────────────────────────────────────────    
- * 2:              0 ── 1 ── 0    1 ── 0    0    0    0 
- * ────────────────────────────────────────────    
- * 3:              0 ── 1 ── 1    1 ── 0    0    0    0 
- * ────────────────────────────────────────────    
- * 4:              1 ── 0 ── 0    1 ── 0    0    0    0 
- * ────────────────────────────────────────────    
- * 5:              1 ── 0 ── 1    1 ── 0    0    0    0 
- * ────────────────────────────────────────────    
- * 6:              1 ── 1 ── 0    1 ── 0    0    0    0 
- * ────────────────────────────────────────────    
- * 7:              1 ── 1 ── 1    1 ── 0    0    0    0 
- * ────────────────────────────────────────────    
- * 8:              1 ── 1 ── 1    0 ── 1    0    0    0 
- * ────────────────────────────────────────────    
- * 9:              0 ── 0 ── 0    0 ── 1    0    0    0 
- * ────────────────────────────────────────────    
- *10:              0 ── 0 ── 1    0 ── 1    0    0    0 
- * ────────────────────────────────────────────    
- *11:              0 ── 1 ── 0    0 ── 1    0    0    0 
- * ────────────────────────────────────────────    
- *12:              0 ── 1 ── 1    0 ── 1    0    0    0 
- * ────────────────────────────────────────────    
- *13:              1 ── 0 ── 0    0 ── 1    0    0    0 
- * ────────────────────────────────────────────    
- *14:              1 ── 0 ── 1    0 ── 1    0    0    0 
- * ────────────────────────────────────────────    
- *15:              1 ── 1 ── 0    0 ── 1    0    0    0 
- * ────────────────────────────────────────────    
- *16:              0 ── 0 ── 0    0 ── 0    1    0    0  
- * ────────────────────────────────────────────    
- *17:              0 ── 0 ── 0    0 ── 0    0    1    0  
- * ────────────────────────────────────────────    
- *18:              0 ── 0 ── 0    0 ── 0    0    0    1  
+ * ────────────────────────────────────────────
+ * 2:              0 ── 1 ── 0    1 ── 0    0    0    0
+ * ────────────────────────────────────────────
+ * 3:              0 ── 1 ── 1    1 ── 0    0    0    0
+ * ────────────────────────────────────────────
+ * 4:              1 ── 0 ── 0    1 ── 0    0    0    0
+ * ────────────────────────────────────────────
+ * 5:              1 ── 0 ── 1    1 ── 0    0    0    0
+ * ────────────────────────────────────────────
+ * 6:              1 ── 1 ── 0    1 ── 0    0    0    0
+ * ────────────────────────────────────────────
+ * 7:              1 ── 1 ── 1    1 ── 0    0    0    0
+ * ────────────────────────────────────────────
+ * 8:              1 ── 1 ── 1    0 ── 1    0    0    0
+ * ────────────────────────────────────────────
+ * 9:              0 ── 0 ── 0    0 ── 1    0    0    0
+ * ────────────────────────────────────────────
+ *10:              0 ── 0 ── 1    0 ── 1    0    0    0
+ * ────────────────────────────────────────────
+ *11:              0 ── 1 ── 0    0 ── 1    0    0    0
+ * ────────────────────────────────────────────
+ *12:              0 ── 1 ── 1    0 ── 1    0    0    0
+ * ────────────────────────────────────────────
+ *13:              1 ── 0 ── 0    0 ── 1    0    0    0
+ * ────────────────────────────────────────────
+ *14:              1 ── 0 ── 1    0 ── 1    0    0    0
+ * ────────────────────────────────────────────
+ *15:              1 ── 1 ── 0    0 ── 1    0    0    0
+ * ────────────────────────────────────────────
+ *16:              0 ── 0 ── 0    0 ── 0    1    0    0
+ * ────────────────────────────────────────────
+ *17:              0 ── 0 ── 0    0 ── 0    0    1    0
+ * ────────────────────────────────────────────
+ *18:              0 ── 0 ── 0    0 ── 0    0    0    1
  *
  */
 static void select_col(uint8_t col) {