Fixed hline voltage position
This commit is contained in:
parent
a76905bd62
commit
37bb02e065
1 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ void draw_sprite(float freq,
|
|||
spr.drawString(frequency, shift + 5, 15);
|
||||
//String offset_line = String((2.0 * v_div) / 1000.0 - offset) + "V";
|
||||
String offset_line = String((3.0 * v_div) / 1000.0 - offset) + "V";
|
||||
spr.drawString(offset_line, shift + 25, 59);
|
||||
spr.drawString(offset_line, shift + 25, (DISPLAY_HEIGHT/2)-8);
|
||||
|
||||
if (set_value) {
|
||||
uint16_t t_left = shift+161;
|
||||
|
@ -221,7 +221,7 @@ void draw_sprite(float freq,
|
|||
spr.drawString(String(int(s_div)) + "uS/div", shift - 100, 15);
|
||||
//String offset_line = String((2.0 * v_div) / 1000.0 - offset) + "V";
|
||||
String offset_line = String((3.0 * v_div) / 1000.0 - offset) + "V";
|
||||
spr.drawString(offset_line, shift + 75, (DISPLAY_HEIGHT/2) -8);
|
||||
spr.drawString(offset_line, shift + 75, (DISPLAY_HEIGHT/2)-8);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue