Skip to content

Commit

Permalink
Removed test code and put handlers back in to receive images.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hodapp87 committed Feb 15, 2012
1 parent 8aa0590 commit ff5560c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Binary file modified osc_test/osc_test.bin
Binary file not shown.
10 changes: 6 additions & 4 deletions osc_test/osc_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,10 +818,10 @@ main(void)
g_osc_state.intCallback = &intEcho;
//g_osc_state.intCallback = &shiftbrite_osc_int_callback;
g_osc_state.floatCallback = &floatEcho;
g_osc_state.stringCallback = &stringEcho;
//g_osc_state.stringCallback = &stringEcho;
//g_osc_state.stringCallback = &shiftbrite_osc_blob_callback;
g_osc_state.blobCallback = &blobEcho;
//g_osc_state.blobCallback = &shiftbrite_osc_blob_callback;
//g_osc_state.blobCallback = &blobEcho;
g_osc_state.blobCallback = &shiftbrite_osc_blob_callback;
}

// Set up OSC listener (hopefully)
Expand Down Expand Up @@ -966,6 +966,7 @@ main(void)
}
#endif

#if 0
{
int x,y;
unsigned char * img = shiftbrite_get_image(&x, &y);
Expand All @@ -977,8 +978,9 @@ main(void)
img[pos] = (unsigned char) 255;
shiftbrite_refresh();
}
#endif
// If not doing anything else, refresh the display.
#if 0
#if 1
shiftbrite_refresh();
UARTprintf("Refresh (t=%d)\n", loopCount);
#endif
Expand Down

0 comments on commit ff5560c

Please sign in to comment.