Skip to content

Commit

Permalink
revert accidentally change of rgb order
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Feb 12, 2025
1 parent c076331 commit a9150dc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tasmota/include/tasmota_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9150dc

Please sign in to comment.