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) | |
download | rockbox-508bf2b45a7bdd163c7bc7644900f2100f9fe137.tar.gz rockbox-508bf2b45a7bdd163c7bc7644900f2100f9fe137.zip |
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 @@ | |||
26 | #ifdef HAVE_DAC3550A | 26 | #ifdef HAVE_DAC3550A |
27 | 27 | ||
28 | /* | 28 | /* |
29 | DAC I2C defs | 29 | DAC I2C defs |
30 | */ | 30 | */ |
31 | #define DAC_ADR 0x9a | 31 | #define DAC_ADR 0x9a |
32 | #define DAC_DEV_WRITE (DAC_ADR | 0x00) | 32 | #define DAC_DEV_WRITE (DAC_ADR | 0x00) |
33 | 33 | ||
34 | #define DAC_REG_WRITE 0xc0 | 34 | #define DAC_REG_WRITE 0xc0 |
35 | 35 | ||
36 | /* registers..*/ | 36 | /* registers..*/ |
37 | #define DAC_SR_REG 1 | 37 | #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[] = { | |||
733 | 733 | ||
734 | { 0xa7, 0, 0, 0x63 }, /* § (paragraph sign) */ | 734 | { 0xa7, 0, 0, 0x63 }, /* § (paragraph sign) */ |
735 | 735 | ||
736 | { 0xab, XF_LEFTDBLANGLEQUOT, 1, 0x40 }, /* « (left double-angle quotation mark) */ | 736 | { 0xab, XF_LEFTDBLANGLEQUOT, 1, 0x40 }, /* « (left double-angle quotation mark) */ |
737 | 737 | ||
738 | { 0xad, 0, 0, 0x31 }, /* (soft hyphen) */ | 738 | { 0xad, 0, 0, 0x31 }, /* (soft hyphen) */ |
739 | 739 | ||
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) { | |||
555 | case CTRL_WTDS: | 555 | case CTRL_WTDS: |
556 | case CTRL_WTND: | 556 | case CTRL_WTND: |
557 | /* If data is not valid stop */ | 557 | /* If data is not valid stop */ |
558 | if(!(M66591_INTSTAT_MAIN & (1<<3)) ) { | 558 | if(!(M66591_INTSTAT_MAIN & (1<<3)) ) { |
559 | logf("mxx: CTRT interrupt but VALID is false"); | 559 | logf("mxx: CTRT interrupt but VALID is false"); |
560 | break; | 560 | break; |
561 | } | 561 | } |
562 | control_received(); | 562 | control_received(); |
563 | break; | 563 | break; |
@@ -777,7 +777,7 @@ void usb_attach(void) { | |||
777 | #endif | 777 | #endif |
778 | 778 | ||
779 | /* Enable oscillation buffer XCKE */ | 779 | /* Enable oscillation buffer XCKE */ |
780 | M66591_TRN_CTRL |= (1<<13); | 780 | M66591_TRN_CTRL |= (1<<13); |
781 | 781 | ||
782 | udelay(1500); | 782 | udelay(1500); |
783 | 783 | ||
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 @@ | |||
26 | #include <stdbool.h> | 26 | #include <stdbool.h> |
27 | 27 | ||
28 | #define RTC_ADR 0xd0 | 28 | #define RTC_ADR 0xd0 |
29 | #define RTC_DEV_WRITE (RTC_ADR | 0x00) | 29 | #define RTC_DEV_WRITE (RTC_ADR | 0x00) |
30 | #define RTC_DEV_READ (RTC_ADR | 0x01) | 30 | #define RTC_DEV_READ (RTC_ADR | 0x01) |
31 | 31 | ||
32 | void rtc_init(void) | 32 | void rtc_init(void) |
33 | { | 33 | { |
@@ -159,8 +159,8 @@ bool rtc_enable_alarm(bool enable) | |||
159 | { | 159 | { |
160 | data &= 0x5f; /* turn bit d7=AFE and d5=ABE off */ | 160 | data &= 0x5f; /* turn bit d7=AFE and d5=ABE off */ |
161 | rtc_write(0x0a, data); | 161 | rtc_write(0x0a, data); |
162 | sleep(HZ / 10); | 162 | sleep(HZ / 10); |
163 | rtc_check_alarm_flag(); | 163 | rtc_check_alarm_flag(); |
164 | data |= 0xa0; /* turn bit d7=AFE and d5=ABE on */ | 164 | data |= 0xa0; /* turn bit d7=AFE and d5=ABE on */ |
165 | rtc_write(0x0a, data); | 165 | rtc_write(0x0a, data); |
166 | } | 166 | } |