Skip to content

Commit 710d1d2

Browse files
authored
Mapping: Fix typo
1 parent 979f00e commit 710d1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/components/mapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ display:
8989
- platform: ...
9090
# update the display drawing random text in random colors
9191
lambda: |-
92-
auto color = color_map.get(random_uint32() % 3]); # Uses get() to index the color_map
92+
auto color = color_map.get(random_uint32() % 3); # Uses get() to index the color_map
9393
it.printf(100, 100, id(roboto20), color, id(string_map)[random_uint32() % 3].c_str(), Color(0));
9494
9595
on_...:

0 commit comments

Comments
 (0)