Skip to content

Commit 121ea49

Browse files
clydebarrowCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent 72b0da8 commit 121ea49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/mapping.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ A more complex example follows:
9292
- platform: ...
9393
# update the display drawing random text in random colors
9494
lambda: |-
95-
auto color = color_map.get(random_uint32() % 3]); # Uses get() to index the color_map
95+
auto color = color_map.get(random_uint32() % 4]); # Uses get() to index the color_map
9696
it.printf(100, 100, id(roboto20), color, id(string_map)[random_uint32() % 3].c_str(), Color(0));
9797
9898

0 commit comments

Comments
 (0)