Fix comment. Pseudo random.

This commit is contained in:
Henrik Ekblad
2014-05-16 07:24:24 +02:00
parent a31d9d1074
commit 7080520a3f
4 changed files with 184 additions and 195 deletions
+4 -4
View File
@@ -26,16 +26,16 @@ char* MyMessage::getString(char *buffer) {
itoa(bValue, buffer, MAX_PAYLOAD);
break;
case P_INT16:
itoa(iValue, data, MAX_PAYLOAD);
itoa(iValue, buffer, MAX_PAYLOAD);
break;
case P_UINT16:
ltoa(uiValue, data, MAX_PAYLOAD);
ltoa(uiValue, buffer, MAX_PAYLOAD);
break;
case P_LONG32:
ltoa(lValue, data, MAX_PAYLOAD);
ltoa(lValue, buffer, MAX_PAYLOAD);
break;
case P_ULONG32:
ltoa(ulValue, data, MAX_PAYLOAD);
ltoa(ulValue, buffer, MAX_PAYLOAD);
break;
case P_CUSTOM:
// TODO: Ok, what do we do here? We should probably convert this to hex