From aec3ef9fc7f80c3413018600ccce65660fcd2807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Degerf=C3=A4lt?= Date: Sat, 22 Jun 2019 00:31:13 +0200 Subject: [PATCH] Use helper function to plot velocity --- NuEVI/menu.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/NuEVI/menu.cpp b/NuEVI/menu.cpp index bf3af12..9c396b9 100644 --- a/NuEVI/menu.cpp +++ b/NuEVI/menu.cpp @@ -432,10 +432,7 @@ static void plotBreathAT(int color){ static void plotVelocity(int color){ if (velocity){ - display.setTextColor(color); - display.setTextSize(2); - display.setCursor(79,33); - display.println(velocity); + plotNum(velocity, color); } else { plotSubOption("DYN", color); }