summaryrefslogtreecommitdiff
path: root/firmware/src/os/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/os/led.c')
-rw-r--r--firmware/src/os/led.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/src/os/led.c b/firmware/src/os/led.c
index 2a57558..fbe3f58 100644
--- a/firmware/src/os/led.c
+++ b/firmware/src/os/led.c
@@ -31,16 +31,6 @@ static const int ledport[] = {
[2] = OPENPCD_PIO_LED2,
};
-static int led2port(int led)
-{
- if (led == 1)
- return OPENPCD_PIO_LED1;
- else if (led == 2)
- return OPENPCD_PIO_LED2;
- else
- return 0;
-}
-
void led_switch(int led, int on)
{
int port;
personal git repositories of Harald Welte. Your mileage may vary