Skip to content

Commit ffa2481

Browse files
author
Martin Klang
committed
make sure font is included
1 parent ac39b1f commit ffa2481

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

LibSource/MonochromeScreenPatch.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
#include "PatchProcessor.h"
77
#include "ServiceCall.h"
88

9-
#include "font.c" // todo load as resource
10-
119
PatchProcessor* getInitialisingPatchProcessor();
1210

1311
static void onDrawCallback(uint8_t* pixels, uint16_t width, uint16_t height){

LibSource/ScreenBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ ScreenBuffer(uint16_t w, uint16_t h) :
228228

229229
void fillCircle(uint16_t x, uint16_t y, uint16_t r, Colour c){
230230
/*
231-
* This is based of code from drawCircle, but we connect circle's points
231+
* This is based on code from drawCircle, but we connect circle's points
232232
* with horizontal lines
233233
*/
234234
int16_t tx = r;

Source/font.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
static const unsigned char font[] = {
1+
const unsigned char font[] = {
22
0x00, 0x00, 0x00, 0x00, 0x00,
33
0x3E, 0x5B, 0x4F, 0x5B, 0x3E,
44
0x3E, 0x6B, 0x4F, 0x6B, 0x3E,

compile.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CPP_SRC += PatchProgram.cpp
1212
# CPP_SRC += ShortPatchProgram.cpp
1313
# CPP_SRC += ScreenBuffer.cpp ScreenBufferDevice.cpp
1414
CPP_SRC += MonochromeScreenPatch.cpp ColourScreenPatch.cpp
15+
C_SRC += font.c
1516

1617
SOURCE = $(BUILDROOT)/Source
1718
LIBSOURCE = $(BUILDROOT)/LibSource

0 commit comments

Comments
 (0)