revert accidentally change of rgb order

This commit is contained in:
Jason2866 2025-02-12 18:36:26 +01:00 committed by GitHub
parent c076331fad
commit a9150dc703
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -242,11 +242,9 @@ typedef union {
uint32_t data; // Allow bit manipulation
struct {
uint32_t log_file_idx : 4; // bit 0.3 (v14.4.1.2) - FileLog log rotate index
uint32_t spare04 : 1; // bit 4
uint32_t spare05 : 1; // bit 5
uint32_t spare06 : 1; // bit 6
uint32_t spare07 : 1; // bit 7
uint32_t spare08 : 1; // bit 8
uint32_t light_pixels_order : 3; // bit 4.6 (v14.4.1.3) - LED light order <Compile>/GRB/RGB/RBG/BRG/BGR/GBR, high bit indicates W before (for RGBW)
uint32_t light_pixels_rgbw : 1; // bit 7 (v14.4.1.3) - LED true is 4 channels RGBW, false is 3 channels RGB
uint32_t light_pixels_w_first : 1; // bit 8 (v14.4.1.3) - LED true if W channel comes first, default is <RGB>W
uint32_t spare09 : 1; // bit 9
uint32_t spare10 : 1; // bit 10
uint32_t spare11 : 1; // bit 11