summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/tuner/lv24020lp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/drivers/tuner/lv24020lp.c b/firmware/drivers/tuner/lv24020lp.c
index 9d6425b962..769be8ac77 100644
--- a/firmware/drivers/tuner/lv24020lp.c
+++ b/firmware/drivers/tuner/lv24020lp.c
@@ -75,12 +75,11 @@ static int fd_log = -1;
75#define FM_CLOCK_PIN 5 75#define FM_CLOCK_PIN 5
76#define FM_DATA_PIN 6 76#define FM_DATA_PIN 6
77#define FM_NRW_PIN 7 77#define FM_NRW_PIN 7
78//#define udelay(x) /* Remove hack when D2 has udelay */ 78/* Remove hack when i7 has udelay */
79
80static void udelay(int usecs) 79static void udelay(int usecs)
81{ 80{
82 while (usecs--) 81 while (usecs--)
83 asm("nop;nop;"); 82 asm("nop;nop;");
84} 83}
85 84
86#elif defined(COWON_D2) 85#elif defined(COWON_D2)
@@ -90,7 +89,7 @@ static void udelay(int usecs)
90#define FM_NRW_PIN 31 89#define FM_NRW_PIN 31
91#define FM_CLOCK_PIN 29 90#define FM_CLOCK_PIN 29
92#define FM_DATA_PIN 30 91#define FM_DATA_PIN 30
93#define udelay(x) /* Remove hack when D2 has udelay */ 92
94#else 93#else
95#error GPIOs undefined for this target 94#error GPIOs undefined for this target
96#endif 95#endif