From ae792d1aca94749dceb9f843ae8bc8dfc3b9dfdd Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 2 Nov 2021 23:14:38 +0100 Subject: add mirrored version of pixeloperator font --- src/app/pervasive-aurora-mb-test/main.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/app') diff --git a/src/app/pervasive-aurora-mb-test/main.cc b/src/app/pervasive-aurora-mb-test/main.cc index 8880442..254f2c5 100644 --- a/src/app/pervasive-aurora-mb-test/main.cc +++ b/src/app/pervasive-aurora-mb-test/main.cc @@ -8,7 +8,7 @@ #include "driver/stdout.h" #include "driver/pervasive_aurora_mb.h" #include "object/framebuffer.h" -#include "lib/pixelfont/pixeloperator.h" +#include "lib/pixelfont/pixeloperator_mirrored.h" __attribute__ ((section(".text"))) unsigned char lynx[12 * 96] = { @@ -114,7 +114,7 @@ __attribute__ ((section(".text"))) unsigned char lynx[12 * 96] = { void loop(void) { static unsigned int i = 0; - fb << "i = " << i++ << " " << endl; + fb << "i = " << i++ << " "; pervasiveAuroraMb.powerOn(); pervasiveAuroraMb.initialize(); pervasiveAuroraMb.sendImage((unsigned char*)fb.data); @@ -129,7 +129,7 @@ int main(void) spi.setup(); pervasiveAuroraMb.setup(); - fb.setFont(pixeloperator); + fb.setFont(pixeloperator_mirrored); fb.clear(); fb.drawAt(200, 300, 96, 96, lynx); fb << "Hello, World!" << endl << endl;; -- cgit v1.2.3