Skip to content

Commit

Permalink
Move comment about default boolean flag values close to the fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Mar 13, 2023
1 parent ac05820 commit 3a1c17a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/led-matrix-c.h
Expand Up @@ -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.
Expand All @@ -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.
*/
Expand Down

0 comments on commit 3a1c17a

Please sign in to comment.