From 9befc2e747e4f6cd2687bf267097cc7a8fd4c601 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 8 May 2011 21:21:02 +0000 Subject: Remove tabs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29842 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/alpine_cdc.c | 20 ++++++++++---------- apps/plugins/disktidy.c | 6 +++--- apps/plugins/resistor.c | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/alpine_cdc.c b/apps/plugins/alpine_cdc.c index 3290d5e851..bf8bfeaae1 100644 --- a/apps/plugins/alpine_cdc.c +++ b/apps/plugins/alpine_cdc.c @@ -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; ifdprintf(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); } diff --git a/apps/plugins/resistor.c b/apps/plugins/resistor.c index 87f6cfcb82..a0bd94911a 100644 --- a/apps/plugins/resistor.c +++ b/apps/plugins/resistor.c @@ -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; -- cgit v1.2.3