Commit 076b0723 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

debug

parent 04817df9
...@@ -527,6 +527,9 @@ static void pubsub_update_variables(UA_UInt32 id, const UA_DataValue *var, bool ...@@ -527,6 +527,9 @@ static void pubsub_update_variables(UA_UInt32 id, const UA_DataValue *var, bool
} }
return; return;
} else if (pubsubIdsArray[i].message == id) { } else if (pubsubIdsArray[i].message == id) {
if ((*(UA_String*) var->value.data).length == 0) {
printf("It is a NULL string from %d\n", s->id);
}
setDroneDataStr(var->value.data, &(s->receiveMessageQueue)); setDroneDataStr(var->value.data, &(s->receiveMessageQueue));
return; return;
} else if (pubsubIdsArray[i].log == id) { } else if (pubsubIdsArray[i].log == id) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment