mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
Fixing typo and removing unused led_color enum
This commit is contained in:
parent
d4f0e188fe
commit
cd7e0b51ea
6 changed files with 3 additions and 14 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
class LED {
|
||||
public:
|
||||
led_color color = led_color::GREEN;
|
||||
|
||||
LED(gpio_num_t pin, uint8_t maxBrightness)
|
||||
: pixels(pin), max_brightness(maxBrightness), brightness(maxBrightness), mode(led_mode_enum::CLASSIC) {}
|
||||
|
@ -31,6 +30,5 @@ class LED {
|
|||
|
||||
bool led_init(void);
|
||||
void led_exe(void);
|
||||
led_color led_get_color(void);
|
||||
|
||||
#endif // LED_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue