[riot-notifications] [RIOT-OS/RIOT] doc/memos: RDM Runtime Configuration Architecture (#10622)

José Alamos notifications at github.com
Tue Jan 8 09:40:49 CET 2019

jia200x commented on this pull request.

> +        set_threshold(threshold);
+    }
+/* Dummy implementation of `export` handler.
+   This handler has to call `export_func` for one or all parameters.
+   There can be different behaviors depending on the export function (e.g printing all configs
+   to STDOUT, save them in a non-volatile storage device, etc)
+int my_export_handler(int (*export_func)(const char *name, char *val), int argc,
+                   char **argv)
+    /* argc  and argv can be used to export only one parameter */
+    (void)argv;
+    (void)argc;
+    char buf[sizeof(int)];

good catch!

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190108/1328752b/attachment.html>

More information about the notifications mailing list