|
|
@@ -18,7 +18,7 @@
|
|
|
// duplicate window command leaves the REFRESH seq.
|
|
|
//
|
|
|
// Out of scope here (comes from the diag Pattern A/B passes, not one capture):
|
|
|
-// bits_per_pixel / palette / plane_invert / row_interleave. Those are emitted
|
|
|
+// bits_per_pixel / palette / plane_invert / line_order. Those are emitted
|
|
|
// as TODO placeholders so the diff against the hand file is about segmentation.
|
|
|
|
|
|
#include <cstdint>
|
|
|
@@ -371,7 +371,7 @@ template<typename Driver> void emit_descriptor(const char *class_name, const cha
|
|
|
|
|
|
// --- emit ---
|
|
|
printf("// GENERATED by emit_descriptor from %s - candidate, segmentation only.\n", class_name);
|
|
|
- printf("// bits_per_pixel/palette/plane_invert/plane_width/row_interleave still\n");
|
|
|
+ printf("// bits_per_pixel/palette/plane_invert/plane_width/line_order still\n");
|
|
|
printf("// come from the diag passes.\n");
|
|
|
printf("#pragma once\n#include \"epd_command.h\"\n\nnamespace esphome::gxepd2 {\n\n");
|
|
|
|
|
|
@@ -422,7 +422,7 @@ template<typename Driver> void emit_descriptor(const char *class_name, const cha
|
|
|
printf(" .plane_count = %zu,\n", nplanes);
|
|
|
printf(" .plane_write_cmd = {0x%02X, 0x%02X},\n", p0cmd, p1cmd);
|
|
|
// Fields below are emitted in struct-declaration order (plane_invert,
|
|
|
- // plane_width, row_interleave, bits_per_pixel, palette, palette_len,
|
|
|
+ // plane_width, line_order, bits_per_pixel, palette, palette_len,
|
|
|
// blank_code) so the designated initializer stays well-formed.
|
|
|
if (pv.is_1bpp) {
|
|
|
const bool i1 = (nplanes > 1 && pv.plane1_valid) ? pv.inv1 : false;
|