projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of gitlab:wintermute/hackover2013-badge-firmware
[hackover2013-badge-firmware.git]
/
sprites
/
fontdata.c
diff --git
a/sprites/fontdata.c
b/sprites/fontdata.c
index
941d8c7
..
3d9f044
100644
(file)
--- a/
sprites/fontdata.c
+++ b/
sprites/fontdata.c
@@
-1,3
+1,4
@@
+#include <stddef.h>
#include <stdio.h>
unsigned char const font5x8[] = {
#include <stdio.h>
unsigned char const font5x8[] = {
@@
-229,7
+230,11
@@
unsigned char const font5x8[] = {
int main(void) {
FILE *fd = fopen("font.dat", "wb");
int main(void) {
FILE *fd = fopen("font.dat", "wb");
+ size_t i;
+
+ for(i = 0; i < sizeof(font5x8); ++i) {
+ fputc(font5x8[i] >> 1, fd);
+ }
- fwrite(font5x8, 1, sizeof(font5x8), fd);
fclose(fd);
}
fclose(fd);
}
This page took
0.024621 seconds
and
4
git commands to generate.