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);
|
spr.drawString(frequency, shift + 5, 15);
|
||||||
//String offset_line = String((2.0 * v_div) / 1000.0 - offset) + "V";
|
//String offset_line = String((2.0 * v_div) / 1000.0 - offset) + "V";
|
||||||
String offset_line = String((3.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) {
|
if (set_value) {
|
||||||
uint16_t t_left = shift+161;
|
uint16_t t_left = shift+161;
|
||||||
|
|
Loading…
Reference in a new issue