[riot-notifications] [RIOT-OS/RIOT] tools/zep_dispatch: add support for advanced topologies (#15773)

benpicco notifications at github.com
Tue Jul 6 18:09:33 CEST 2021


@benpicco commented on this pull request.



> +    e->b = _find_or_create_node(nodes, b);
+    e->weight_a_b = atof(e_ab);
+    e->weight_b_a = atof(e_ba);
+
+    list_add(edges, &e->next);
+
+    return true;
+}
+
+int topology_print(const char *file, const topology_t *t)
+{
+    FILE *out;
+    char addr_str[3 * HW_ADDR_MAX_LEN];
+
+    if (t->flat) {
+        // TODO

Since printing flat typologies is rather pointless, I did not implement it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15773#discussion_r664694025
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210706/80c85918/attachment.htm>


More information about the notifications mailing list