From 9f6a082af753af22b426dfa1b31e524998fe0dea Mon Sep 17 00:00:00 2001 From: Burt P Date: Sat, 15 Jul 2017 15:18:30 -0500 Subject: Expand device tree support The complete tree is now available to view. There are some bugs, mostly to do with hardinfo protocol quirks. Signed-off-by: Burt P --- modules/devices.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/devices.c') diff --git a/modules/devices.c b/modules/devices.c index 9a97eee8..fe430621 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -376,7 +376,9 @@ gchar *callback_spd() gchar *callback_dtree() { - return g_strdup(dtree_info); + return g_strdup_printf("%s" + "[$ShellParam$]\n" + "ViewType=1\n", dtree_info); } gchar *callback_memory() -- cgit v1.2.3