Skip to content

Commit f675b2a

Browse files
Mapping: Fix typo (#5375)
Co-authored-by: Jonathan Swoboda <[email protected]>
1 parent 2002df4 commit f675b2a

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)