From 6805b1191bf49147e425c44e0708a5d3f1600d8a Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Fri, 14 Mar 2025 14:00:50 -0500 Subject: [PATCH] last tweaks? --- src/main.c | 2 +- src/video_hstx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 53c2c62..e347cc3 100644 --- a/src/main.c +++ b/src/main.c @@ -265,7 +265,7 @@ static void core1_main() int main() { - set_sys_clock_khz(250*1000, true); + // set_sys_clock_khz(250*1000, true); stdio_init_all(); io_init(); diff --git a/src/video_hstx.c b/src/video_hstx.c index 0b96fdd..f1816b6 100644 --- a/src/video_hstx.c +++ b/src/video_hstx.c @@ -165,7 +165,7 @@ void video_init(uint32_t *framebuffer) { size_t pixels_per_word = 32; size_t words_per_line = DISP_WIDTH / pixels_per_word; - uint8_t rot = 25; // 24 + color_depth; + uint8_t rot = 24; // 24 + color_depth; size_t shift_amount = 31; // color_depth % 32; size_t command_word = 0;