comparison Scan/MatrixARM/matrix_scan.c @ 389:fc2c2a1e9615

Adding basic remote capabilities + UART Rx DMA buffers - Rx buffers weren't fast enough, had to use DMA :D - Basic LCD remote capabilities are working, single node - Multi-node broadcast seems to have a bug still - DMA ring buffer allowed for significant processing simplification * There is an overrun risk, but the buffer is large and generally there isn't too much data being sent (just very quickly) - Split out LCD layer stack capability into itself and an "exact" version used for updating remote nodes
author Jacob Alexander <haata@kiibohd.com>
date Thu, 15 Oct 2015 00:16:36 -0700
parents 86b937945313
children 293154e4aafe
comparison
equal deleted inserted replaced
388:3ddab7faf67d 389:fc2c2a1e9615
194 } 194 }
195 195
196 print( NL ); 196 print( NL );
197 info_msg("Max Keys: "); 197 info_msg("Max Keys: ");
198 printHex( Matrix_maxKeys ); 198 printHex( Matrix_maxKeys );
199 print( NL );
199 200
200 // Clear out Debounce Array 201 // Clear out Debounce Array
201 for ( uint8_t item = 0; item < Matrix_maxKeys; item++ ) 202 for ( uint8_t item = 0; item < Matrix_maxKeys; item++ )
202 { 203 {
203 Matrix_scanArray[ item ].prevState = KeyState_Off; 204 Matrix_scanArray[ item ].prevState = KeyState_Off;