]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Commenting out lines, to get the code to compile.
authorJacob Alexander <triplehaata@gmail.com>
Tue, 15 Jan 2013 02:43:26 +0000 (21:43 -0500)
committerJacob Alexander <triplehaata@gmail.com>
Tue, 15 Jan 2013 02:43:26 +0000 (21:43 -0500)
- Not tested, almost guaranteed to not work
- Dual scan code was never completed (I need a project, and motivation :P)

Scan/matrix/matrix_scan.c

index 53bd301d2bba091b6da2547a19c9c22caa1b8742..77623b3ee050609020365c0df23a829c1a303d61 100644 (file)
@@ -349,7 +349,7 @@ inline void matrix_scan( uint8_t *matrix, uint8_t *detectArray )
        // Dual Scan
 #if scanMode == scanDual
        // First do a scan of all of the columns, marking each one
-       matrix_pinSetup( matrix, scanCol_powrRow, 0, MAX_ROW_SIZE, MAX_COL_SIZE );
+       //matrix_pinSetup( matrix, scanCol_powrRow, 0, MAX_ROW_SIZE, MAX_COL_SIZE ); TODO
        _delay_us( 1 );
        for ( ; row < (MAX_COL_SIZE+1); row++ ) for ( ; col < (MAX_ROW_SIZE+1); col++ )
        {
@@ -376,7 +376,7 @@ inline void matrix_scan( uint8_t *matrix, uint8_t *detectArray )
 
        // Next, do a scan of all of the rows, clearing any "vague" keys (only detected on row, but not column, or vice-versa)
        // And marking any keys that are detected on the row and column
-       matrix_pinSetup( matrix, scanRow_powrCol, 0, MAX_ROW_SIZE, MAX_COL_SIZE );
+       //matrix_pinSetup( matrix, scanRow_powrCol, 0, MAX_ROW_SIZE, MAX_COL_SIZE ); TODO
        _delay_us( 1 );
        col = 1;
        row = 1;