mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Added config for HASIVO_S600W_4GT_2XGT_SE (4x2.5G, 2x10G)
SysLed behavior logic added so it can mimic any original style
This commit is contained in:
1 parent
9f107b6e60
commit
974052877d
4 files changed
+60
-2
No files matched your search
+10
-2
@@ -1141,7 +1141,11 @@ void handle_button(void)
|
||||
else
|
||||
{
|
||||
print_string("Short button press detected; no action.\n");
|
||||
set_sys_led_state(SYS_LED_ON);
|
||||
if (machine.sys_led_mode) {
|
||||
set_sys_led_state(machine.sys_led_mode);
|
||||
} else {
|
||||
set_sys_led_state(SYS_LED_ON);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -1747,7 +1751,11 @@ void main(void)
|
||||
print_cmd_prompt();
|
||||
idle_ready = 1;
|
||||
|
||||
set_sys_led_state(SYS_LED_ON);
|
||||
if (machine.sys_led_mode) {
|
||||
set_sys_led_state(machine.sys_led_mode);
|
||||
} else {
|
||||
set_sys_led_state(SYS_LED_ON);
|
||||
}
|
||||
|
||||
cmd_editor_init();
|
||||
|
||||
|
||||
Reference in new issue
Block a user