chore: remove BOM and fix typos (#4685)

This commit is contained in:
Viktor Szépe
2023-10-22 06:39:43 +02:00
committed by GitHub
parent 89dd481747
commit f9572ed303
52 changed files with 132 additions and 131 deletions

View File

@@ -178,9 +178,9 @@ void lv_init(void)
LV_LOG_WARN("The strings have no UTF-8 encoding. Non-ASCII characters won't be displayed.");
}
uint32_t endianess_test = 0x11223344;
uint8_t * endianess_test_p = (uint8_t *) &endianess_test;
bool big_endian = endianess_test_p[0] == 0x11;
uint32_t endianness_test = 0x11223344;
uint8_t * endianness_test_p = (uint8_t *) &endianness_test;
bool big_endian = endianness_test_p[0] == 0x11;
if(big_endian) {
LV_ASSERT_MSG(LV_BIG_ENDIAN_SYSTEM == 1,