Small fixes

This commit is contained in:
Chris Teubert
2015-04-08 09:12:45 -07:00
parent d18904bbe2
commit 10bf4d63ac
3 changed files with 3 additions and 3 deletions

View File

@@ -423,7 +423,7 @@ short handleInput(struct XPCMessage * theMessage)
}
else
{ //unrecognized header
sprintf(logmsg,"[EXEC] ERROR: Command %s not recognised",theMessage->head);
sprintf(logmsg,"[EXEC] ERROR: Command %s not recognized",theMessage->head);
updateLog(logmsg, strlen(logmsg));
}
current_connection = -1;

View File

@@ -5,4 +5,4 @@ void XPCClearMessage();
void XPCSetMessage(int x, int y, char* msg);
#endif
#endif

View File

@@ -380,7 +380,7 @@ int printBufferToLog(struct XPCMessage & msg)
{// Header = CTRL (Control)
xpcCtrl ctrl = parseCTRL(msg.msg);
sprintf(logmsg,"%s (%f %f %f) %f %hi %f",logmsg, ctrl.pitch, ctrl.roll, ctrl.yaw, ctrl.throttle, ctrl.gear, ctrl.flaps);
sprintf(logmsg,"%s (%f %f %f) %f %hhi %f",logmsg, ctrl.pitch, ctrl.roll, ctrl.yaw, ctrl.throttle, ctrl.gear, ctrl.flaps);
updateLog(logmsg,strlen(logmsg));