Fixes unicode_map declaration example (#19450)

If the previous example was used the incorrect codepoints are produced.
Changes the order of arguments the declaration of the unicode_map
This commit is contained in:
BBBNBBB 2022-12-31 21:23:17 +00:00 committed by GitHub
parent 590c889537
commit 943aae85d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ enum unicode_names {
SNEK SNEK
}; };
const uint32_t PROGMEM unicode_map[] = { const uint32_t unicode_map[] PROGMEM = {
[BANG] = 0x203D, // ‽ [BANG] = 0x203D, // ‽
[IRONY] = 0x2E2E, // ⸮ [IRONY] = 0x2E2E, // ⸮
[SNEK] = 0x1F40D, // 🐍 [SNEK] = 0x1F40D, // 🐍