Remove tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29842 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
67f215032d
commit
9befc2e747
3 changed files with 14 additions and 14 deletions
|
@ -490,16 +490,16 @@ void receive_timeout_isr(void)
|
|||
/* generate the checksum */
|
||||
unsigned char calc_checksum(unsigned char* p_msg, int digits)
|
||||
{
|
||||
int chk = 0;
|
||||
int i;
|
||||
|
||||
for (i=0; i<digits; i++)
|
||||
{
|
||||
chk ^= p_msg[i];
|
||||
}
|
||||
chk = (chk+1) % 16;
|
||||
|
||||
return chk;
|
||||
int chk = 0;
|
||||
int i;
|
||||
|
||||
for (i=0; i<digits; i++)
|
||||
{
|
||||
chk ^= p_msg[i];
|
||||
}
|
||||
chk = (chk+1) % 16;
|
||||
|
||||
return chk;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -554,9 +554,9 @@ static bool save_config(const char *file_name)
|
|||
{
|
||||
for (i=0; i<tidy_type_count; i++)
|
||||
{
|
||||
rb->fdprintf(fd, "%s%s: %s\n", tidy_types[i].filestring,
|
||||
tidy_types[i].directory ? "/" : "",
|
||||
tidy_types[i].remove ? "yes" : "no");
|
||||
rb->fdprintf(fd, "%s%s: %s\n", tidy_types[i].filestring,
|
||||
tidy_types[i].directory ? "/" : "",
|
||||
tidy_types[i].remove ? "yes" : "no");
|
||||
}
|
||||
rb->close(fd);
|
||||
}
|
||||
|
|
|
@ -205,7 +205,7 @@ static enum color get_band_rtoc(int in_val)
|
|||
|
||||
static char *get_tolerance_str(enum color color)
|
||||
{
|
||||
static char tolerance_str [14];
|
||||
static char tolerance_str [14];
|
||||
rb->snprintf(tolerance_str, sizeof(tolerance_str), "%d%% tolerance",
|
||||
band_data[color].tolerance);
|
||||
return tolerance_str;
|
||||
|
|
Loading…
Reference in a new issue