Skip to content

Commit

Permalink
fix: EN compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
3djc committed Mar 29, 2024
1 parent 4aaa81c commit 7df3cd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion radio/src/gui/common/stdlcd/utf8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ static wchar_t _utf8_lut[] = {
#define NO_UTF8_LUT
#endif

#if !defined(NO_UTF8_LUT)
#define MAX_TRANSLATED_CHARS 107
static_assert(sizeof(_utf8_lut) / sizeof(_utf8_lut[0]) <= MAX_TRANSLATED_CHARS, "Number of translated chars exceeds the limit");

#if !defined(NO_UTF8_LUT)
static unsigned char lookup_utf8_mapping(wchar_t w)
{
for (uint32_t i=0; i < DIM(_utf8_lut); i++) {
Expand Down
1 change: 0 additions & 1 deletion radio/src/targets/taranis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ if(TRANSLATIONS STREQUAL UA AND NOT TARGET_FLASH_SIZE STREQUAL 1M)
set(PXX2 OFF)
endif()


if(ENABLE_SERIAL_PASSTHROUGH)
set(CLI ON "Enable CLI")
endif()
Expand Down

0 comments on commit 7df3cd0

Please sign in to comment.