mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Remove led behavior & LED comments
Should work without gpio_input_setup
This commit is contained in:
1 parent
974052877d
commit
c31b67572b
4 files changed
+13
-27
No files matched your search
+2
-10
@@ -1141,11 +1141,7 @@ void handle_button(void)
|
||||
else
|
||||
{
|
||||
print_string("Short button press detected; no action.\n");
|
||||
if (machine.sys_led_mode) {
|
||||
set_sys_led_state(machine.sys_led_mode);
|
||||
} else {
|
||||
set_sys_led_state(SYS_LED_ON);
|
||||
}
|
||||
set_sys_led_state(SYS_LED_ON);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -1751,11 +1747,7 @@ void main(void)
|
||||
print_cmd_prompt();
|
||||
idle_ready = 1;
|
||||
|
||||
if (machine.sys_led_mode) {
|
||||
set_sys_led_state(machine.sys_led_mode);
|
||||
} else {
|
||||
set_sys_led_state(SYS_LED_ON);
|
||||
}
|
||||
set_sys_led_state(SYS_LED_ON);
|
||||
|
||||
cmd_editor_init();
|
||||
|
||||
|
||||
Reference in new issue
Block a user