Skip to content

Commit f881c1d

Browse files
committed
updates bitstream to use new IDF API
1 parent 1fc4a38 commit f881c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micropy_updates/esp32/machine_bitstream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ esp_err_t rmt_new_led_strip_encoder(const led_strip_encoder_config_t *config, rm
220220
.level1 = config->bit1_duration1 < 0 ? 0 : 1,
221221
.duration1 = bit1_duration1 * config->resolution / 1000000000,
222222
},
223-
.flags.msb_first = config->bit_order // WS2812 transfer bit order: G7...G0R7...R0B7...B0
223+
.flags.msb_first = 1 // WS2812 transfer bit order: G7...G0R7...R0B7...B0
224224
};
225225

226226

0 commit comments

Comments
 (0)