From 26000500470b5d4f763f3db09be87d834233d153 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Mon, 20 May 2024 21:18:15 +0200 Subject: [PATCH] compile fixes --- ESP32/console_esp32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP32/console_esp32.cpp b/ESP32/console_esp32.cpp index 2f85240..548569e 100644 --- a/ESP32/console_esp32.cpp +++ b/ESP32/console_esp32.cpp @@ -118,7 +118,7 @@ void console_esp32::panel_update_thread() uint16_t current_PC = c->getPC(); - if (pm == PM_BITS) { + if (panel_mode == PM_BITS) { uint32_t full_addr = b->getMMU()->calculate_physical_address(c, run_mode, current_PC, false, false, i_space); uint16_t current_instr = b->read_word(current_PC); @@ -140,7 +140,7 @@ void console_esp32::panel_update_thread() else { pixels.clear(); - pixels.setPixelColor(current_PC * n_pixels / 65536, led_color); + pixels.setPixelColor(current_PC * n_leds / 65536, led_color); } pixels.show();