From 21b382d7284914874a7a16a56b128ed9c8ca0abd Mon Sep 17 00:00:00 2001 From: 4LAR Date: Wed, 10 Dec 2025 21:45:39 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D1=81=D1=82=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/graphics/draw/MenuHandler.cpp | 4 +-- src/graphics/img/icon.xbm | 34 ++++++++++---------- src/graphics/img/icon_small.xbm | 38 +++++++---------------- variants/esp32s3/heltec_v3/platformio.ini | 1 - 4 files changed, 30 insertions(+), 47 deletions(-) diff --git a/src/graphics/draw/MenuHandler.cpp b/src/graphics/draw/MenuHandler.cpp index 1f6c10b..8a0704c 100644 --- a/src/graphics/draw/MenuHandler.cpp +++ b/src/graphics/draw/MenuHandler.cpp @@ -102,8 +102,8 @@ void menuHandler::LoraRegionPicker(uint32_t duration) "KZ_433", "KZ_863", "NP_865", - "NO_LIMITS", - "BR_902"}; + "BR_902", + "NO_LIMITS"}; BannerOverlayOptions bannerOptions; #if defined(M5STACK_UNITC6L) bannerOptions.message = "LoRa Region"; diff --git a/src/graphics/img/icon.xbm b/src/graphics/img/icon.xbm index 4e78ae8..1dd683f 100644 --- a/src/graphics/img/icon.xbm +++ b/src/graphics/img/icon.xbm @@ -2,21 +2,19 @@ #define icon_width 50 #define icon_height 28 static uint8_t icon_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x03, 0x00, 0x03, - 0x00, 0x00, 0x00, 0x80, 0x07, 0xC0, 0x07, 0x00, 0x00, 0x00, 0xC0, 0x1F, - 0xC0, 0x0F, 0x00, 0x00, 0x00, 0xE0, 0x0F, 0xE0, 0x0F, 0x00, 0x00, 0x00, - 0xE0, 0x0F, 0xF0, 0x1F, 0x00, 0x00, 0x00, 0xF0, 0x07, 0xF0, 0x3F, 0x00, - 0x00, 0x00, 0xF8, 0x03, 0xF8, 0x7F, 0x00, 0x00, 0x00, 0xF8, 0x03, 0xFC, - 0x7F, 0x00, 0x00, 0x00, 0xFC, 0x01, 0xFC, 0xFE, 0x00, 0x00, 0x00, 0xFE, - 0x00, 0xFE, 0xFC, 0x01, 0x00, 0x00, 0xFE, 0x00, 0x7F, 0xFC, 0x01, 0x00, - 0x00, 0x7F, 0x00, 0x3F, 0xF8, 0x03, 0x00, 0x80, 0x3F, 0x80, 0x3F, 0xF0, - 0x07, 0x00, 0x80, 0x3F, 0xC0, 0x1F, 0xF0, 0x07, 0x00, 0xC0, 0x1F, 0xC0, - 0x0F, 0xE0, 0x0F, 0x00, 0xE0, 0x0F, 0xE0, 0x0F, 0xC0, 0x1F, 0x00, 0xE0, - 0x0F, 0xF0, 0x07, 0x80, 0x1F, 0x00, 0xF0, 0x07, 0xF8, 0x03, 0x80, 0x3F, - 0x00, 0xF8, 0x03, 0xF8, 0x03, 0x00, 0x7F, 0x00, 0xFC, 0x03, 0xFC, 0x01, - 0x00, 0x7E, 0x00, 0xFC, 0x01, 0xFE, 0x00, 0x00, 0xFE, 0x00, 0xFE, 0x00, - 0xFE, 0x00, 0x00, 0xFC, 0x01, 0x7E, 0x00, 0x7F, 0x00, 0x00, 0xF8, 0x01, - 0x7E, 0x00, 0x3E, 0x00, 0x00, 0xF8, 0x01, 0x38, 0x00, 0x3C, 0x00, 0x00, - 0x70, 0x00, 0x10, 0x00, 0x10, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, }; -#endif \ No newline at end of file +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0xf6,0xef,0xdf,0x71,0x00,0x00,0x1c, +0xf7,0xef,0xdf,0x71,0x00,0x00,0xbc,0xf7,0xef,0xdf,0x71,0x00,0x00,0xfc,0x77, +0xe0,0xc0,0x71,0x00,0x00,0xfc,0x77,0xe0,0xc0,0x71,0x00,0x00,0xfc,0xf7,0xef, +0xdf,0x7f,0x00,0x00,0x5c,0xf7,0xef,0xdf,0x7f,0x00,0x00,0x1c,0xf7,0xef,0xdf, +0x7f,0x00,0x00,0x1c,0x77,0x00,0xdc,0x71,0x00,0x00,0x1c,0x77,0x00,0xdc,0x71, +0x00,0x00,0x1c,0xf7,0xef,0xdf,0x71,0x00,0x00,0x1c,0xf7,0xef,0xdf,0x71,0x00, +0x00,0x1c,0xf7,0xef,0xdf,0x71,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc1,0x7c,0x7e,0x00,0x00, +0x00,0x80,0xe3,0xfe,0xfe,0x00,0x00,0x00,0x80,0xf7,0xc6,0xc6,0x00,0x00,0x00, +0x80,0xff,0xc6,0xc6,0x00,0x00,0x00,0x80,0xdd,0xc6,0xc6,0x00,0x00,0x00,0x80, +0xc9,0xc6,0xc6,0x00,0x00,0x00,0x80,0xc1,0xc6,0xc6,0x00,0x00,0x00,0x80,0xc1, +0xfe,0xfe,0x00,0x00,0x00,0x80,0xc1,0x7c,0x7e,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00 +}; +#endif diff --git a/src/graphics/img/icon_small.xbm b/src/graphics/img/icon_small.xbm index e320a1f..d7ccb00 100644 --- a/src/graphics/img/icon_small.xbm +++ b/src/graphics/img/icon_small.xbm @@ -2,29 +2,15 @@ #define icon_width 50 #define icon_height 20 static uint8_t icon_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x80, 0x03, 0x00, 0x03, 0x00, 0x00, 0x00, 0x80, - 0x07, 0xc0, 0x07, 0x00, 0x00, 0x00, 0xc0, 0x0f, - 0xc0, 0x0f, 0x00, 0x00, 0x00, 0xe0, 0x07, 0xe0, - 0x0f, 0x00, 0x00, 0x00, 0xe0, 0x07, 0xf0, 0x1f, - 0x00, 0x00, 0x00, 0xf0, 0x03, 0xf0, 0x3f, 0x00, - 0x00, 0x00, 0xf8, 0x03, 0xf8, 0x7f, 0x00, 0x00, - 0x00, 0xf8, 0x01, 0xfc, 0x7e, 0x00, 0x00, 0x00, - 0xfc, 0x00, 0xfc, 0xfc, 0x00, 0x00, 0x00, 0xfe, - 0x00, 0x7e, 0xf8, 0x00, 0x00, 0x00, 0x7e, 0x00, - 0x3f, 0xf8, 0x01, 0x00, 0x00, 0x3f, 0x00, 0x1f, - 0xf0, 0x01, 0x00, 0x00, 0x1f, 0x80, 0x1f, 0xe0, - 0x03, 0x00, 0x80, 0x1f, 0xc0, 0x0f, 0xe0, 0x03, - 0x00, 0x80, 0x0f, 0xc0, 0x07, 0xc0, 0x07, 0x00, - 0xc0, 0x0f, 0xe0, 0x07, 0x80, 0x0f, 0x00, 0xe0, - 0x07, 0xf0, 0x03, 0x80, 0x1f, 0x00, 0xe0, 0x03, - 0xf8, 0x03, 0x00, 0x1f, 0x00, 0xf0, 0x03, 0xf8, - 0x01, 0x00, 0x3f, 0x00, 0xf8, 0x01, 0xfc, 0x00, - 0x00, 0x7e, 0x00, 0xfc, 0x00, 0xfe, 0x00, 0x00, - 0x7e, 0x00, 0xfc, 0x00, 0x7e, 0x00, 0x00, 0xfc, - 0x00, 0x7e, 0x00, 0x3f, 0x00, 0x00, 0xf8, 0x00, - 0x7e, 0x00, 0x3e, 0x00, 0x00, 0xf8, 0x00, 0x38, - 0x00, 0x1c, 0x00, 0x00, 0x70, 0x00, 0x10, 0x00, - 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00 }; -#endif \ No newline at end of file +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0xec,0xdf,0xbf,0xe3,0x00,0x00,0x38, +0xee,0xdf,0xbf,0xe3,0x00,0x00,0x78,0xef,0xdf,0xbf,0xe3,0x00,0x00,0xf8,0xef, +0xc0,0x81,0xe3,0x00,0x00,0xf8,0xef,0xc0,0x81,0xe3,0x00,0x00,0xf8,0xef,0xdf, +0xbf,0xff,0x00,0x00,0xb8,0xee,0xdf,0xbf,0xff,0x00,0x00,0x38,0xee,0xdf,0xbf, +0xff,0x00,0x00,0x38,0xee,0x00,0xb8,0xe3,0x00,0x00,0x38,0xee,0x00,0xb8,0xe3, +0x00,0x00,0x38,0xee,0xdf,0xbf,0xe3,0x00,0x00,0x38,0xee,0xdf,0xbf,0xe3,0x00, +0x00,0x38,0xee,0xdf,0xbf,0xe3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x91,0x39,0x00,0x00,0x00,0x00,0x00,0x5b,0x4a,0x00,0x00, +0x00,0x00,0x00,0x55,0x4a,0x00,0x00,0x00,0x00,0x00,0x91,0x39,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00 +}; +#endif diff --git a/variants/esp32s3/heltec_v3/platformio.ini b/variants/esp32s3/heltec_v3/platformio.ini index 81a96e5..b3423e0 100644 --- a/variants/esp32s3/heltec_v3/platformio.ini +++ b/variants/esp32s3/heltec_v3/platformio.ini @@ -7,5 +7,4 @@ board_build.partitions = default_8MB.csv build_flags = ${esp32s3_base.build_flags} -D HELTEC_V3 - -D OLED_RU -I variants/esp32s3/heltec_v3