Use helper function to plot velocity
This commit is contained in:
parent
b156a5935d
commit
aec3ef9fc7
1 changed files with 1 additions and 4 deletions
|
@ -432,10 +432,7 @@ static void plotBreathAT(int color){
|
||||||
|
|
||||||
static void plotVelocity(int color){
|
static void plotVelocity(int color){
|
||||||
if (velocity){
|
if (velocity){
|
||||||
display.setTextColor(color);
|
plotNum(velocity, color);
|
||||||
display.setTextSize(2);
|
|
||||||
display.setCursor(79,33);
|
|
||||||
display.println(velocity);
|
|
||||||
} else {
|
} else {
|
||||||
plotSubOption("DYN", color);
|
plotSubOption("DYN", color);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue