From 7eb694822d6202832083b340d7cd8ccf74c2d8d8 Mon Sep 17 00:00:00 2001 From: Hugo Saint-Vignes Date: Mon, 3 Aug 2020 17:58:36 +0200 Subject: [PATCH] [python] Add magenta color Change-Id: I7a5e12f6f3d79da802149a6aeef88387941ccdd8 --- python/port/port.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/port/port.cpp b/python/port/port.cpp index bc2ee4113..1a4eb61df 100644 --- a/python/port/port.cpp +++ b/python/port/port.cpp @@ -202,7 +202,8 @@ KDColor MicroPython::Color::Parse(mp_obj_t input, Mode mode){ NamedColor("orange", Palette::Orange), NamedColor("purple", Palette::Purple), NamedColor("grey", Palette::GreyDark), - NamedColor("cyan", Palette::Cyan) + NamedColor("cyan", Palette::Cyan), + NamedColor("magenta", Palette::Magenta) }; for (NamedColor p : pairs) { if (strcmp(p.name(), color) == 0) {