add comments

This commit is contained in:
René van Dorst
2026-03-28 21:40:43 +01:00
parent cdbc48f2c2
commit 385c850d2f
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@ typedef struct {
#define LED_27 1 #define LED_27 1
// SYSTEM LED
#define LED_28_SYS 2 #define LED_28_SYS 2
#define LED_29 4 #define LED_29 4
+2
View File
@@ -190,6 +190,7 @@ void leds_setup(void) __banked
else else
reg_bit_clear(RTL837X_PIN_MUX_0, 27); reg_bit_clear(RTL837X_PIN_MUX_0, 27);
// SYSTEM LED
if (machine.high_leds.mux & LED_28_SYS) if (machine.high_leds.mux & LED_28_SYS)
reg_bit_set(RTL837X_PIN_MUX_0, 28); reg_bit_set(RTL837X_PIN_MUX_0, 28);
else else
@@ -205,6 +206,7 @@ void leds_setup(void) __banked
else else
reg_bit_clear(RTL837X_REG_LED_GLB_IO_EN, 27); reg_bit_clear(RTL837X_REG_LED_GLB_IO_EN, 27);
// SYSTEM LED
if (machine.high_leds.enable & LED_28_SYS) if (machine.high_leds.enable & LED_28_SYS)
reg_bit_set(RTL837X_REG_LED_GLB_IO_EN, 28); reg_bit_set(RTL837X_REG_LED_GLB_IO_EN, 28);
else else