diff options
author | David Crocker <dcrocker@eschertech.com> | 2018-02-08 17:52:37 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2018-02-08 17:52:37 +0300 |
commit | ccb75833e49add7f5391f60784cfbe7069d16fc0 (patch) | |
tree | fe3f6cb71f40354574c606d7cd15dad96999a87a /src/Display/Display.cpp | |
parent | c5a8315c2d0ab6eb6a7c961e0f44cea198bee38d (diff) |
Fixed for SAM4S and SAME70 builds
Diffstat (limited to 'src/Display/Display.cpp')
-rw-r--r-- | src/Display/Display.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Display/Display.cpp b/src/Display/Display.cpp index 264978ce..91ba42f4 100644 --- a/src/Display/Display.cpp +++ b/src/Display/Display.cpp @@ -12,8 +12,8 @@ constexpr int DefaultPulsesPerClick = -4; // values that work with displays I have are 2 and -4 -extern const LcdFont font16x16; -extern const LcdFont font10x10; +extern const LcdFont font11x14; +//extern const LcdFont font10x10; static int val = 0; @@ -30,7 +30,7 @@ void Display::Init() //TODO display top menu here // For now we just print some text to test the display - lcd.SetFont(&font16x16); + lcd.SetFont(&font11x14); lcd.SetCursor(5, 5); lcd.SetRightMargin(128); @@ -114,7 +114,7 @@ void Display::UpdatingFirmware() IoPort::WriteAnalog(LcdBeepPin, 0.0, 0); // stop any beep lcd.TextInvert(false); lcd.Clear(); - lcd.SetFont(&font10x10); + lcd.SetFont(&font11x14); lcd.SetCursor(20, 0); lcd.print("Updating firmware..."); lcd.FlushAll(); |