Rename LED_28 to LED_28_SYS.

So it clear that led 28 is the SYSTEM LED.
This commit is contained in:
René van Dorst
2026-03-28 19:29:49 +01:00
parent 54fced05b0
commit cdbc48f2c2
3 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -190,7 +190,7 @@ void leds_setup(void) __banked
else
reg_bit_clear(RTL837X_PIN_MUX_0, 27);
if (machine.high_leds.mux & LED_28)
if (machine.high_leds.mux & LED_28_SYS)
reg_bit_set(RTL837X_PIN_MUX_0, 28);
else
reg_bit_clear(RTL837X_PIN_MUX_0, 28);
@@ -205,7 +205,7 @@ void leds_setup(void) __banked
else
reg_bit_clear(RTL837X_REG_LED_GLB_IO_EN, 27);
if (machine.high_leds.enable & LED_28)
if (machine.high_leds.enable & LED_28_SYS)
reg_bit_set(RTL837X_REG_LED_GLB_IO_EN, 28);
else
reg_bit_clear(RTL837X_REG_LED_GLB_IO_EN, 28);