1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2024-09-29 02:09:49 +03:00

Switched from four-spaces to one-tab indentation.

This commit is contained in:
Werner Almesberger 2010-10-21 10:05:26 -03:00
parent de75051afa
commit 3bbf318536
6 changed files with 331 additions and 330 deletions

View File

@ -63,7 +63,8 @@ static const char *parse(const char *s, uint8_t *port, uint8_t *mode, int bits)
fprintf(stderr, "not enough pin settings\n"); fprintf(stderr, "not enough pin settings\n");
exit(1); exit(1);
default: default:
fprintf(stderr, "unrecognized pin setting \"%c\"\n", s[-1]); fprintf(stderr,
"unrecognized pin setting \"%c\"\n", s[-1]);
exit(1); exit(1);
} }
pos++; pos++;

View File

@ -110,7 +110,8 @@ static void dump_flash(size_t size)
printf(" %02x", buf[j]); printf(" %02x", buf[j]);
printf(" "); printf(" ");
for (j = 0; j != len; j++) for (j = 0; j != len; j++)
printf("%c", buf[j] >= ' ' && buf[j] <= '~' ? buf[j] : '.'); printf("%c",
buf[j] >= ' ' && buf[j] <= '~' ? buf[j] : '.');
putchar('\n'); putchar('\n');
fflush(stdout); fflush(stdout);
} }

View File

@ -154,4 +154,3 @@ void fp_reg_write(uint8_t addr, uint8_t value)
fpdat_write(1); fpdat_write(1);
fpdat_write(value); fpdat_write(value);
} }