From 3a1c17ab80b85b50a82dca3754c51739ff4c0691 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Sun, 12 Mar 2023 23:31:06 -0700 Subject: [PATCH] Move comment about default boolean flag values close to the fields. --- include/led-matrix-c.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/led-matrix-c.h b/include/led-matrix-c.h index 0f53e067d..55325c23b 100644 --- a/include/led-matrix-c.h +++ b/include/led-matrix-c.h @@ -121,13 +121,15 @@ struct RGBLedMatrixOptions { */ int multiplexing; + /** The following boolean flags are off by default **/ + /* Allow to use the hardware subsystem to create pulses. This won't do * anything if output enable is not connected to GPIO 18. * Corresponding flag: --led-hardware-pulse */ - bool disable_hardware_pulsing; - bool show_refresh_rate; /* Corresponding flag: --led-show-refresh */ - bool inverse_colors; /* Corresponding flag: --led-inverse */ + bool disable_hardware_pulsing; /* Flag: --led-hardware-pulse */ + bool show_refresh_rate; /* Flag: --led-show-refresh */ + bool inverse_colors; /* Flag: --led-inverse */ /* In case the internal sequence of mapping is not "RGB", this contains the * real mapping. Some panels mix up these colors. @@ -146,8 +148,6 @@ struct RGBLedMatrixOptions { */ const char *panel_type; /* Corresponding flag: --led-panel-type */ - /** The following are boolean flags, all off by default **/ - /* Limit refresh rate of LED panel. This will help on a loaded system * to keep a constant refresh rate. <= 0 for no limit. */