You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
865 B
Diff
33 lines
865 B
Diff
7 years ago
|
178c178
|
||
|
< fprintf(out_fp, "%d", data_buf[i]);
|
||
|
---
|
||
|
> fprintf(out_fp, "0x%02x", data_buf[i]);
|
||
|
180c180
|
||
|
< fprintf(out_fp, "%3d", data_buf[i]);
|
||
|
---
|
||
|
> fprintf(out_fp, "0x%02x", data_buf[i]);
|
||
|
487c487,488
|
||
|
< int bdf_delta_x; /* DWIDTH arg 1 */
|
||
|
---
|
||
|
> int bdf_delta_x_default = -1;
|
||
|
> int bdf_delta_x = -1; /* DWIDTH arg 1 */
|
||
|
1097a1099,1114
|
||
|
> else if ( strcmp(p_buf, "CHARS") == 0 )
|
||
|
> {
|
||
|
> if (bdf_delta_x < 0) {
|
||
|
> bdf_delta_x = 0;
|
||
|
> }
|
||
|
> if (bdf_delta_x_default < 0) {
|
||
|
> bdf_delta_x_default = bdf_delta_x;
|
||
|
> }
|
||
|
> }
|
||
|
> else if ( strcmp(p_buf, "STARTCHAR") == 0 )
|
||
|
> {
|
||
|
> if (bdf_delta_x_default < 0) {
|
||
|
> bdf_delta_x_default = 0;
|
||
|
> }
|
||
|
> bdf_delta_x = bdf_delta_x_default;
|
||
|
> }
|
||
|
1293d1309
|
||
|
< fprintf(out_fp, "#include \"u8g.h\"\n");
|