Skip to content
Snippets Groups Projects
Commit b93e21ce authored by Julia Wichmann's avatar Julia Wichmann
Browse files

Printf Debugging lay1+2.c

parent 413bab28
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ int main(void){
if(readyToReceive){
if(bufferIndex != 0) receivedFrame[receiveIndex] = frame[bufferIndex-1];
else receivedFrame[receiveIndex] = frame[MAXFRAMESIZE-1];
printf("receivedFrame[%d] = %d, bufferIndex: %d \n", receiveIndex, receivedFrame[receiveIndex], bufferIndex);
switch(receiveIndex){
case 0:
if(receivedFrame[receiveIndex] != 0x7E) break;
......
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