Skip to content

Commit

Permalink
Tweak some OSD alignments.
Browse files Browse the repository at this point in the history
  • Loading branch information
hydra committed Oct 22, 2016
1 parent bd61cdc commit 5cec66e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/main/osd/osd.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void osdDisplaySplash(void)
{
osdHardwareDrawLogo();

osdPrintAt(10, 7, "CLEANFLIGHT");
osdPrintAt(9, 7, "CLEANFLIGHT");
}

void osdInit(void)
Expand Down Expand Up @@ -255,7 +255,8 @@ void osdUpdate(void)

if (timerState[tim2Hz].toggle && splashDone) {
if (!osdIsCameraConnected()) {
osdPrintAt(11, 4, "NO CAMERA");
osdPrintAt(14, 4, "NO");
osdPrintAt(12, 5, "CAMERA");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/osd/osd_max7456.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static void osdDrawStaticElement(uint8_t x, uint8_t y, const uint8_t element[],

void osdHardwareDrawLogo(void)
{
osdDrawStaticElement(14,5, logoElement, ARRAYLEN(logoElement), 3);
osdDrawStaticElement(13, 5, logoElement, ARRAYLEN(logoElement), 3);
}

void osdHardwareDisplayMotor(uint8_t x, uint8_t y, uint8_t percent)
Expand Down

0 comments on commit 5cec66e

Please sign in to comment.