diff core/client.cpp @ 45:579c86316008 newapi

Major API overhaul. Moved to a single data structure for handling render functions. Functionally, generally similar except for scheduling within PRU loop function, which now uses interrupts from the PRU rather than polling. This requires an updated kernel.
author andrewm
date Thu, 28 May 2015 14:35:55 -0400
parents 12ee9a61e81d
children f3251851c718
line wrap: on
line diff
--- a/core/client.cpp	Wed May 13 12:23:37 2015 +0100
+++ b/core/client.cpp	Thu May 28 14:35:55 2015 -0400
@@ -97,7 +97,7 @@
 				return -1;
 			}
 			printf("Received a datagram: ");
-			printf(inBuffer);
+			printf("%s", inBuffer);
 			//the worst parser ever
 			int previousN=0;
 			int currentVariable=0;