QMFS-Electronics-team / Dashboard

Firmware for QMFS informatics dashboard
0 stars 0 forks source link

Misaligned speed label after GPS connection #25

Closed raymond51 closed 1 month ago

raymond51 commented 1 month ago

Verification

What happened?

The speed label shifts slightly to the right upon GPS connection, prior to that the label is in the correct location

Before GPS connection:

After GPS connection:

 

What should happen instead?

The speed label orientation should be centered normally on device bootup and after GPS connection

Reproduction steps

Mount dash in correct orientation with the screen facing towards the operator Power on the dash and await for the main screen to appear Await for the GPS to connect and to start streaming data Review the speed label on the main screen once connected

More details?

The center orientation of the speed label is correct provided that String() in float format is set to at least 1dp

Example:

String stringOne = String(5.698, 1);                  // using a float and the decimal places

Version

Pre-release