summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-11-20 15:28:04 +1100
committerDamien George <damien.p.george@gmail.com>2017-11-20 15:28:04 +1100
commit811ddcc65f9fb666228a9477139f4fceb31240dd (patch)
tree96c2761680925485941b10e7e596fc34c414e7d3
parent6906255dcdd8d8ff04efd1651c7a503a230a3523 (diff)
stm32/led: Remove unused LED enum constants.
-rw-r--r--ports/stm32/led.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/ports/stm32/led.h b/ports/stm32/led.h
index f1b05d1e2..2c872e9c5 100644
--- a/ports/stm32/led.h
+++ b/ports/stm32/led.h
@@ -27,21 +27,10 @@
#define MICROPY_INCLUDED_STMHAL_LED_H
typedef enum {
- // PYBv3
- PYB_LED_R1 = 1,
- PYB_LED_R2 = 2,
- PYB_LED_G1 = 3,
- PYB_LED_G2 = 4,
- // PYBv4
PYB_LED_RED = 1,
PYB_LED_GREEN = 2,
PYB_LED_YELLOW = 3,
PYB_LED_BLUE = 4,
- //STM32F4DISC
- PYB_LED_R = 1,
- PYB_LED_G = 2,
- PYB_LED_B = 3,
- PYB_LED_O = 4,
} pyb_led_t;
void led_init(void);