summaryrefslogtreecommitdiff
path: root/src/esp32p4/selftest.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/esp32p4/selftest.zig')
-rw-r--r--src/esp32p4/selftest.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/esp32p4/selftest.zig b/src/esp32p4/selftest.zig
index 97b43059..19b71e90 100644
--- a/src/esp32p4/selftest.zig
+++ b/src/esp32p4/selftest.zig
@@ -270,7 +270,7 @@ export fn zig_main() noreturn {
const typed = "the quick brown fox jumps over the lazy dog, and then some more besides";
var port: FakePort = .{ .tx_cap = 2, .incoming = typed };
var ring: input_rescue.Ring = .{};
- const frame = "\x1b[1;1H" ++ "x" ** 300;
+ const frame = "\x1b[1;1H" ++ &@as([300]u8, @splat('x'));
const abandoned = input_rescue.pump(&port, &ring, frame, 1_000_000);
check("the frame went out whole", abandoned == 0 and port.sent == frame.len);