fix experimental_lib/example_c/test_grab: no fork&pipe needed, use pm3_grabbed_output_get

This commit is contained in:
Philippe Teuwen 2024-09-09 23:57:32 +02:00
commit b91f7742c1
2 changed files with 26 additions and 52 deletions

View file

@ -9,6 +9,6 @@ int main(int argc, char *argv[]) {
}
pm3 *p;
p = pm3_open(argv[1]);
pm3_console(p, "hw status");
pm3_console(p, "hw status", true);
pm3_close(p);
}