Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Debug code from JonasB added (and commented out)

  • Loading branch information...
commit 10d16f6ba39251d4b87813085a2939bdb4cc938c 1 parent 7e165c3
D Taylor authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 srv.c
9 srv.c
View
@@ -492,6 +492,15 @@ static void clients_tick() {
// Processes a data packet
static void comm_recv( char *buffer, int size, remote_t *remote ) {
+/*
+ // JonasB debug code
+ printf("RoboCortex [debug]: Recevied packet: ");
+ int i;
+ for (i = 0; i != size; i++) {
+ printf("%02x", buffer[i]);
+ }
+ printf("\n");
+*/
client_t *p_client = clients_find( remote );
SDL_mutexP( receive_mx );
if( p_client ) {
Please sign in to comment.
Something went wrong with that request. Please try again.