mirror of
https://github.com/Hopiu/rpi-rgb-led-matrix.git
synced 2026-03-16 22:10:27 +00:00
o Don't show runtime options we don't support.
This commit is contained in:
parent
fe67391222
commit
5b3bbb7008
1 changed files with 5 additions and 1 deletions
|
|
@ -107,7 +107,11 @@ struct RGBLedMatrix *led_matrix_create(int rows, int chained, int parallel) {
|
|||
}
|
||||
|
||||
void led_matrix_print_flags(FILE *out) {
|
||||
rgb_matrix::PrintMatrixFlags(out);
|
||||
rgb_matrix::RGBMatrix::Options defaults;
|
||||
rgb_matrix::RuntimeOptions rt_opt;
|
||||
rt_opt.daemon = -1;
|
||||
rt_opt.drop_privileges = -1;
|
||||
rgb_matrix::PrintMatrixFlags(out, defaults, rt_opt);
|
||||
}
|
||||
|
||||
void led_matrix_delete(struct RGBLedMatrix *matrix) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue