Skip to content

Commit c530b67

Browse files
committed
Small bumps to graphic locations
1 parent d01e0b0 commit c530b67

File tree

1 file changed

+24
-32
lines changed

1 file changed

+24
-32
lines changed

Firmware/RTK_Surveyor/Display.ino

Lines changed: 24 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ void paintBaseTempSurveyStarted()
508508
oled.setCursor(0, 22); //x, y
509509
oled.print("Mean:");
510510

511-
oled.setCursor(30, 20); //x, y
511+
oled.setCursor(29, 20); //x, y
512512
oled.setFontType(1);
513513
oled.print(meanAccuracy, 2);
514514

@@ -535,8 +535,8 @@ void paintBaseTempTransmitting()
535535

536536
paintBaseState(); //Top center
537537

538-
int textX = 2;
539-
int textY = 20;
538+
int textX = 1;
539+
int textY = 17;
540540
int textKerning = 8;
541541
oled.setFontType(1);
542542
printTextwithKerning("Xmitting", textX, textY, textKerning);
@@ -545,9 +545,8 @@ void paintBaseTempTransmitting()
545545
oled.setFontType(0);
546546
oled.print("RTCM:");
547547

548-
oled.setCursor(29, 36); //x, y
548+
oled.setCursor(28, 36); //x, y
549549
oled.setFontType(1); //Set font to type 1: 8x16
550-
551550
oled.print(rtcmPacketsSent); //rtcmPacketsSent is controlled in processRTCM()
552551

553552
paintLogging();
@@ -566,8 +565,8 @@ void paintBaseTempWiFiStarted()
566565

567566
paintBaseState(); //Top center
568567

569-
int textX = 2;
570-
int textY = 20;
568+
int textX = 1;
569+
int textY = 17;
571570
int textKerning = 8;
572571
oled.setFontType(1);
573572
printTextwithKerning("Xmitting", textX, textY, textKerning);
@@ -576,9 +575,8 @@ void paintBaseTempWiFiStarted()
576575
oled.setFontType(0);
577576
oled.print("RTCM:");
578577

579-
oled.setCursor(29, 36); //x, y
578+
oled.setCursor(28, 36); //x, y
580579
oled.setFontType(1); //Set font to type 1: 8x16
581-
582580
oled.print(rtcmPacketsSent); //rtcmPacketsSent is controlled in processRTCM()
583581

584582
paintLogging();
@@ -598,8 +596,8 @@ void paintBaseTempWiFiConnected()
598596

599597
paintBaseState(); //Top center
600598

601-
int textX = 2;
602-
int textY = 20;
599+
int textX = 1;
600+
int textY = 17;
603601
int textKerning = 8;
604602
oled.setFontType(1);
605603
printTextwithKerning("Xmitting", textX, textY, textKerning);
@@ -608,9 +606,8 @@ void paintBaseTempWiFiConnected()
608606
oled.setFontType(0);
609607
oled.print("RTCM:");
610608

611-
oled.setCursor(29, 36); //x, y
609+
oled.setCursor(28, 36); //x, y
612610
oled.setFontType(1); //Set font to type 1: 8x16
613-
614611
oled.print(rtcmPacketsSent); //rtcmPacketsSent is controlled in processRTCM()
615612

616613
paintLogging();
@@ -630,7 +627,7 @@ void paintBaseTempCasterStarted()
630627
paintBaseState(); //Top center
631628

632629
int textX = 11;
633-
int textY = 18;
630+
int textY = 17;
634631
int textKerning = 8;
635632

636633
printTextwithKerning("Caster", textX, textY, textKerning);
@@ -657,7 +654,7 @@ void paintBaseTempCasterConnected()
657654
paintBaseState(); //Top center
658655

659656
int textX = 4;
660-
int textY = 20;
657+
int textY = 17;
661658
int textKerning = 8;
662659
oled.setFontType(1);
663660
printTextwithKerning("Casting", textX, textY, textKerning);
@@ -666,9 +663,8 @@ void paintBaseTempCasterConnected()
666663
oled.setFontType(0);
667664
oled.print("RTCM:");
668665

669-
oled.setCursor(29, 36); //x, y
666+
oled.setCursor(28, 36); //x, y
670667
oled.setFontType(1); //Set font to type 1: 8x16
671-
672668
oled.print(rtcmPacketsSent); //rtcmPacketsSent is controlled in processRTCM()
673669

674670
paintLogging();
@@ -686,8 +682,8 @@ void paintBaseFixedTransmitting()
686682

687683
paintBaseState(); //Top center
688684

689-
int textX = 2;
690-
int textY = 20;
685+
int textX = 1;
686+
int textY = 17;
691687
int textKerning = 8;
692688
oled.setFontType(1);
693689
printTextwithKerning("Xmitting", textX, textY, textKerning);
@@ -696,9 +692,8 @@ void paintBaseFixedTransmitting()
696692
oled.setFontType(0);
697693
oled.print("RTCM:");
698694

699-
oled.setCursor(29, 36); //x, y
695+
oled.setCursor(28, 36); //x, y
700696
oled.setFontType(1); //Set font to type 1: 8x16
701-
702697
oled.print(rtcmPacketsSent); //rtcmPacketsSent is controlled in processRTCM()
703698

704699
paintLogging();
@@ -717,8 +712,8 @@ void paintBaseFixedWiFiStarted()
717712

718713
paintBaseState(); //Top center
719714

720-
int textX = 2;
721-
int textY = 20;
715+
int textX = 1;
716+
int textY = 17;
722717
int textKerning = 8;
723718
oled.setFontType(1);
724719
printTextwithKerning("Xmitting", textX, textY, textKerning);
@@ -727,9 +722,8 @@ void paintBaseFixedWiFiStarted()
727722
oled.setFontType(0);
728723
oled.print("RTCM:");
729724

730-
oled.setCursor(29, 36); //x, y
725+
oled.setCursor(28, 36); //x, y
731726
oled.setFontType(1); //Set font to type 1: 8x16
732-
733727
oled.print(rtcmPacketsSent); //rtcmPacketsSent is controlled in processRTCM()
734728

735729
paintLogging();
@@ -749,8 +743,8 @@ void paintBaseFixedWiFiConnected()
749743

750744
paintBaseState(); //Top center
751745

752-
int textX = 2;
753-
int textY = 20;
746+
int textX = 1;
747+
int textY = 17;
754748
int textKerning = 8;
755749
oled.setFontType(1);
756750
printTextwithKerning("Xmitting", textX, textY, textKerning);
@@ -759,9 +753,8 @@ void paintBaseFixedWiFiConnected()
759753
oled.setFontType(0);
760754
oled.print("RTCM:");
761755

762-
oled.setCursor(29, 36); //x, y
756+
oled.setCursor(28, 36); //x, y
763757
oled.setFontType(1); //Set font to type 1: 8x16
764-
765758
oled.print(rtcmPacketsSent); //rtcmPacketsSent is controlled in processRTCM()
766759

767760
paintLogging();
@@ -808,7 +801,7 @@ void paintBaseFixedCasterConnected()
808801
paintBaseState(); //Top center
809802

810803
int textX = 4;
811-
int textY = 20;
804+
int textY = 17;
812805
int textKerning = 8;
813806
oled.setFontType(1);
814807
printTextwithKerning("Casting", textX, textY, textKerning);
@@ -817,9 +810,8 @@ void paintBaseFixedCasterConnected()
817810
oled.setFontType(0);
818811
oled.print("RTCM:");
819812

820-
oled.setCursor(29, 36); //x, y
813+
oled.setCursor(28, 36); //x, y
821814
oled.setFontType(1); //Set font to type 1: 8x16
822-
823815
oled.print(rtcmPacketsSent); //rtcmPacketsSent is controlled in processRTCM()
824816

825817
paintLogging();

0 commit comments

Comments
 (0)