From 84b5e9444061f1dc62fbe9892b3a03ef142f69e4 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Wed, 5 Apr 2017 10:50:50 +0200 Subject: [PATCH] Focus: Less formatting in the dump commands Fixes #1. Signed-off-by: Gergely Nagy --- src/Kaleidoscope/EEPROM-Colormap.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/Kaleidoscope/EEPROM-Colormap.cpp b/src/Kaleidoscope/EEPROM-Colormap.cpp index d19e8c3b..a6d3bb86 100644 --- a/src/Kaleidoscope/EEPROM-Colormap.cpp +++ b/src/Kaleidoscope/EEPROM-Colormap.cpp @@ -102,9 +102,7 @@ namespace KaleidoscopePlugins { EEPROM.get (paletteBase + i * sizeof (color), color); ::Focus.printColor (color); - - if (i < 14) - ::Focus.printSeparator (); + ::Focus.printSpace (); } Serial.println (); break; @@ -137,14 +135,13 @@ namespace KaleidoscopePlugins { indexes = EEPROM.read (mapBase + loc); ::Focus.printNumber (indexes >> 4); - ::Focus.printSeparator (); + ::Focus.printSpace (); ::Focus.printNumber (indexes & ~0xf0); - ::Focus.printSeparator (); + ::Focus.printSpace (); } - Serial.println (); } - Serial.println (); } + Serial.println (); break; }