projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Vogel.
[hackover2013-badge-firmware.git]
/
drivers
/
displays
/
bitmap
/
st7565
/
st7565.c
diff --git
a/drivers/displays/bitmap/st7565/st7565.c
b/drivers/displays/bitmap/st7565/st7565.c
index
d8b125e
..
96d5540
100644
(file)
--- a/
drivers/displays/bitmap/st7565/st7565.c
+++ b/
drivers/displays/bitmap/st7565/st7565.c
@@
-134,7
+134,7
@@
void drawChar(uint16_t x, uint16_t y, uint8_t c, struct FONT_DEF font)
// Retrieve appropriate columns from font data
for (col = 0; col < font.u8Width; col++)
{
// Retrieve appropriate columns from font data
for (col = 0; col < font.u8Width; col++)
{
- column[col] = font.au8FontTable[((c -
32
) * font.u8Width) + col]; // Get first column of appropriate character
+ column[col] = font.au8FontTable[((c -
font.u8FirstChar
) * font.u8Width) + col]; // Get first column of appropriate character
}
}
else
}
}
else
This page took
0.026247 seconds
and
4
git commands to generate.