1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2024-11-27 16:06:17 +02: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");
exit(1);
default:
fprintf(stderr, "unrecognized pin setting \"%c\"\n", s[-1]);
fprintf(stderr,
"unrecognized pin setting \"%c\"\n", s[-1]);
exit(1);
}
pos++;

View File

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

View File

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