Skip to content

Commit

Permalink
- change methods names
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro authored and Sandro committed Aug 10, 2015
1 parent a2a6df1 commit 58a7343
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,19 @@
} \
}

void VGAX::print(byte *fnt, byte glyphscount, byte fntheight, byte hspace,
byte vspace, const char *str, char dx, char dy0, byte color) {
void VGAX::printPROGMEM(byte *fnt, byte glyphscount, byte fntheight,
byte hspace, byte vspace, const char *str,
char dx, char dy0, byte color) {
char dx0=dx, dy;
char *pstr=(char*)str;
char c;
while (c=pgm_read_byte(pstr++)) {
PRINT_LOOP_CODE
}
}
void VGAX::print_SRAM(byte *fnt, byte glyphscount, byte fntheight, byte hspace,
byte vspace, const char *str, char dx, char dy0,
byte color) {
void VGAX::printSRAM(byte *fnt, byte glyphscount, byte fntheight, byte hspace,
byte vspace, const char *str, char dx, char dy0,
byte color) {
char dx0=dx, dy;
char *pstr=(char*)str;
char c;
Expand Down

0 comments on commit 58a7343

Please sign in to comment.