Small macro update for debugging the Sony NEWS

This commit is contained in:
Jacob Alexander 2011-12-06 23:49:56 -08:00
parent ea2654b662
commit 6bf2607872
3 changed files with 73 additions and 1 deletions

View file

@ -177,6 +177,7 @@ ISR(USART1_RX_vect)
dPrintStrs( tmpStr, " " );
// Process the scancode
if ( keyValue != 0x00 )
processKeyValue( keyValue );
sei(); // Re-enable Interrupts
@ -193,6 +194,11 @@ ISR(USART1_RX_vect)
// 0x8C Acks the keyboard and gets 0x70 sent back (delayed)
uint8_t scan_sendData( uint8_t dataPayload )
{
// Debug
char tmpStr[6];
hexToStr( dataPayload, tmpStr );
info_dPrint( tmpStr, " " );
UDR1 = dataPayload;
return 0;
}