From 6d503a1e62513e31fc9b075006c59857e523d587 Mon Sep 17 00:00:00 2001 From: "0m.ax" Date: Sat, 19 Jul 2025 02:28:56 +0200 Subject: [PATCH] bigger? --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index cb2fd62..81577e5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ use std::time::Duration; // Constants from the C code const QUEUE_LEN: usize = 1000; -const MSG_PAYLOAD_SIZE: usize = 7 * 160; +const MSG_PAYLOAD_SIZE: usize = 7 * 211; const MSGSIZE: usize = 2 + MSG_PAYLOAD_SIZE; const DISPLAY_HOST: &str = "100.65.0.2"; @@ -255,7 +255,7 @@ impl Display { buf[6] = b; self.pos_in_buf += 1; - if self.pos_in_buf == 160 { + if self.pos_in_buf == 211 { self.flush_frame(); } }