diff options
author | Burt P <pburt0@gmail.com> | 2017-07-15 15:18:30 -0500 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2017-07-19 07:20:40 -0700 |
commit | 9f6a082af753af22b426dfa1b31e524998fe0dea (patch) | |
tree | 3d251833f62476a1eb79a9df35fbdd4e47909328 /modules/devices.c | |
parent | ae4750fb3f5f40522bcfadac2d13c28d7d3d7879 (diff) |
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 <pburt0@gmail.com>
Diffstat (limited to 'modules/devices.c')
-rw-r--r-- | modules/devices.c | 4 |
1 files changed, 3 insertions, 1 deletions
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() |