update type for fonts (char* -> uint8_t*)
This commit is contained in:
parent
5133f09bfd
commit
db7b418d3c
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
// Created by http://oleddisplay.squix.ch/ Consider a donation
|
||||
// In case of problems make sure that you are using the font file with the correct version!
|
||||
const char DialogInput_plain_10[] PROGMEM = {
|
||||
const uint8_t DialogInput_plain_10[] PROGMEM = {
|
||||
0x06, // Width: 6
|
||||
0x0D, // Height: 13
|
||||
0x20, // First Char: 32
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ void Display::display()
|
|||
_dsp.display();
|
||||
}
|
||||
|
||||
void Display::font(const char* fontData)
|
||||
void Display::font(const uint8_t* fontData)
|
||||
{
|
||||
_dsp.setFont(fontData);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ public:
|
|||
void clear();
|
||||
void display();
|
||||
void align(OLEDDISPLAY_TEXT_ALIGNMENT alignment);
|
||||
void font(const char* fontData);
|
||||
void font(const uint8_t* fontData);
|
||||
|
||||
void print(int16_t x, int16_t y, const char* fmt, ...);
|
||||
void vprint(int16_t x, int16_t y, const char* fmt, va_list ap);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user