diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-01-03 11:31:14 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-01-03 11:31:14 +0000 |
commit | 508bf2b45a7bdd163c7bc7644900f2100f9fe137 (patch) | |
tree | 00b3f9e24d461ad2c743813f9670c481c58acaed /firmware/drivers | |
parent | 5cebdcd06b73ebf957d52b6a7a048937b146c9cd (diff) |
Final removal of tabs in firmware path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24158 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/dac.h | 6 | ||||
-rw-r--r-- | firmware/drivers/lcd-charset-player.c | 2 | ||||
-rw-r--r-- | firmware/drivers/m66591.c | 8 | ||||
-rw-r--r-- | firmware/drivers/rtc/rtc_m41st84w.c | 8 |
4 files changed, 12 insertions, 12 deletions
diff --git a/firmware/drivers/dac.h b/firmware/drivers/dac.h index 0083fc5fac..121ce74e9d 100644 --- a/firmware/drivers/dac.h +++ b/firmware/drivers/dac.h @@ -26,12 +26,12 @@ #ifdef HAVE_DAC3550A /* - DAC I2C defs + DAC I2C defs */ #define DAC_ADR 0x9a -#define DAC_DEV_WRITE (DAC_ADR | 0x00) +#define DAC_DEV_WRITE (DAC_ADR | 0x00) -#define DAC_REG_WRITE 0xc0 +#define DAC_REG_WRITE 0xc0 /* registers..*/ #define DAC_SR_REG 1 diff --git a/firmware/drivers/lcd-charset-player.c b/firmware/drivers/lcd-charset-player.c index 100510fa2b..ba6f67848b 100644 --- a/firmware/drivers/lcd-charset-player.c +++ b/firmware/drivers/lcd-charset-player.c @@ -733,7 +733,7 @@ const struct xchar_info xchar_info_oldlcd[] = { { 0xa7, 0, 0, 0x63 }, /* § (paragraph sign) */ - { 0xab, XF_LEFTDBLANGLEQUOT, 1, 0x40 }, /* « (left double-angle quotation mark) */ + { 0xab, XF_LEFTDBLANGLEQUOT, 1, 0x40 }, /* « (left double-angle quotation mark) */ { 0xad, 0, 0, 0x31 }, /* (soft hyphen) */ diff --git a/firmware/drivers/m66591.c b/firmware/drivers/m66591.c index d86106988a..f71be3e766 100644 --- a/firmware/drivers/m66591.c +++ b/firmware/drivers/m66591.c @@ -555,9 +555,9 @@ void USB_DEVICE(void) { case CTRL_WTDS: case CTRL_WTND: /* If data is not valid stop */ - if(!(M66591_INTSTAT_MAIN & (1<<3)) ) { - logf("mxx: CTRT interrupt but VALID is false"); - break; + if(!(M66591_INTSTAT_MAIN & (1<<3)) ) { + logf("mxx: CTRT interrupt but VALID is false"); + break; } control_received(); break; @@ -777,7 +777,7 @@ void usb_attach(void) { #endif /* Enable oscillation buffer XCKE */ - M66591_TRN_CTRL |= (1<<13); + M66591_TRN_CTRL |= (1<<13); udelay(1500); diff --git a/firmware/drivers/rtc/rtc_m41st84w.c b/firmware/drivers/rtc/rtc_m41st84w.c index 951091c6f2..5374f66f24 100644 --- a/firmware/drivers/rtc/rtc_m41st84w.c +++ b/firmware/drivers/rtc/rtc_m41st84w.c @@ -26,8 +26,8 @@ #include <stdbool.h> #define RTC_ADR 0xd0 -#define RTC_DEV_WRITE (RTC_ADR | 0x00) -#define RTC_DEV_READ (RTC_ADR | 0x01) +#define RTC_DEV_WRITE (RTC_ADR | 0x00) +#define RTC_DEV_READ (RTC_ADR | 0x01) void rtc_init(void) { @@ -159,8 +159,8 @@ bool rtc_enable_alarm(bool enable) { data &= 0x5f; /* turn bit d7=AFE and d5=ABE off */ rtc_write(0x0a, data); - sleep(HZ / 10); - rtc_check_alarm_flag(); + sleep(HZ / 10); + rtc_check_alarm_flag(); data |= 0xa0; /* turn bit d7=AFE and d5=ABE on */ rtc_write(0x0a, data); } |