Skip to content
Snippets Groups Projects
Commit 5ed61b1e authored by Satoru Yamada's avatar Satoru Yamada
Browse files

Add line-numbers in the hexdump of a CRC-error event.

parent a4a0f900
No related branches found
No related tags found
No related merge requests found
......@@ -183,7 +183,7 @@ int crc_calc_event( unsigned int* data, int start_pos, int *crc_good, int *crc_b
if( bad ){
for( i = 0 ; i < size ; i++){
printf("%.8x ", data[ ( start_pos + i ) % DMASIZE ] );
if( i % 8 == 7 ) printf("\n");
if( i % 8 == 7 ) printf("\n %.8x ", ( start_pos + i ) % DMASIZE );
}
printf("\n");
good_flag = -2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment