diff options
Diffstat (limited to 'firmware/drivers/led.c')
-rw-r--r-- | firmware/drivers/led.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/drivers/led.c b/firmware/drivers/led.c index 118911a746..a9be9399c8 100644 --- a/firmware/drivers/led.c +++ b/firmware/drivers/led.c | |||
@@ -28,11 +28,6 @@ | |||
28 | void led(bool on) | 28 | void led(bool on) |
29 | { | 29 | { |
30 | if ( on ) | 30 | if ( on ) |
31 | #ifdef GMINI_ARCH | ||
32 | P2 |= 1; | ||
33 | else | ||
34 | P2 &= ~1; | ||
35 | #else | ||
36 | { | 31 | { |
37 | or_b(0x40, &PBDRL); | 32 | or_b(0x40, &PBDRL); |
38 | } | 33 | } |
@@ -40,7 +35,6 @@ void led(bool on) | |||
40 | { | 35 | { |
41 | and_b(~0x40, &PBDRL); | 36 | and_b(~0x40, &PBDRL); |
42 | } | 37 | } |
43 | #endif | ||
44 | } | 38 | } |
45 | 39 | ||
46 | #elif (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) | 40 | #elif (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) |