Skip to content

Commit

Permalink
Change the members position to have the same order in c and c++ (#1518)
Browse files Browse the repository at this point in the history
Change the members position to have the same order in c and c++. Change in the C API to keep the C++ API with the fixed ABI.
  • Loading branch information
mick111 committed Mar 13, 2023
1 parent 0bbf64d commit ac05820
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/led-matrix-c.h
Expand Up @@ -121,6 +121,14 @@ struct RGBLedMatrixOptions {
*/
int multiplexing;

/* 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 */

/* In case the internal sequence of mapping is not "RGB", this contains the
* real mapping. Some panels mix up these colors.
*/
Expand All @@ -140,14 +148,6 @@ struct RGBLedMatrixOptions {

/** The following are boolean flags, all 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
*/
char disable_hardware_pulsing;
char show_refresh_rate; /* Corresponding flag: --led-show-refresh */
char inverse_colors; /* Corresponding flag: --led-inverse */

/* 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 ac05820

Please sign in to comment.