From bdb4bc578c6b3d3db268694e1b51027df7ffd76a Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sat, 20 Jul 2019 12:06:09 -0400 Subject: [PATCH] Add WhiteLight to component library. --- include/componentlibrary.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/componentlibrary.hpp b/include/componentlibrary.hpp index 17d97add..684bf6c4 100644 --- a/include/componentlibrary.hpp +++ b/include/componentlibrary.hpp @@ -447,6 +447,12 @@ struct BlueLight : GrayModuleLightWidget { } }; +struct WhiteLight : GrayModuleLightWidget { + WhiteLight() { + addBaseColor(SCHEME_WHITE); + } +}; + /** Reads two adjacent lightIds, so `lightId` and `lightId + 1` must be defined */ struct GreenRedLight : GrayModuleLightWidget { GreenRedLight() {