Added PHY options to control the brigthness of the LED and its dimming.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-09-27 20:55:49 +02:00
parent 058473dce9
commit a816b6f747
6 changed files with 27 additions and 8 deletions

View File

@@ -31,6 +31,9 @@ extern void led_driver_color(uint8_t, uint32_t, float);
static uint32_t led_mode = MODE_NOT_MOUNTED;
uint32_t led_phy_btness = MAX_BTNESS;
bool led_dimmable = false;
void led_set_mode(uint32_t mode) {
led_mode = mode;
}