# HG changeset patch # User Jacob Alexander # Date 1358217806 18000 # Node ID f605b500bbd314c8ce55c185193123c11c9ed9c9 # Parent d36e5fea50c41c517148bf3e5eeff11355f670cc Commenting out lines, to get the code to compile. - Not tested, almost guaranteed to not work - Dual scan code was never completed (I need a project, and motivation :P) diff -r d36e5fea50c4 -r f605b500bbd3 Scan/matrix/matrix_scan.c --- a/Scan/matrix/matrix_scan.c Mon Jan 14 21:40:38 2013 -0500 +++ b/Scan/matrix/matrix_scan.c Mon Jan 14 21:43:26 2013 -0500 @@ -349,7 +349,7 @@ // 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 @@ // 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;