summaryrefslogtreecommitdiff
path: root/supervisor/shared/micropython.c
diff options
context:
space:
mode:
authorHierophect <hierophect@gmail.com>2019-07-22 12:58:28 -0400
committerHierophect <hierophect@gmail.com>2019-07-22 12:58:28 -0400
commit58630a844ad1db7d30671a3cb18f433e015a40a3 (patch)
tree4e481c7c9fd007faaa98f879724a89610cf870b7 /supervisor/shared/micropython.c
parent10b9ca5a92d876e6a3f0e6fb2fb0c2b317c5046a (diff)
Add feature conditionals and clean up
Diffstat (limited to 'supervisor/shared/micropython.c')
-rw-r--r--supervisor/shared/micropython.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/supervisor/shared/micropython.c b/supervisor/shared/micropython.c
index db9864793..245db11d4 100644
--- a/supervisor/shared/micropython.c
+++ b/supervisor/shared/micropython.c
@@ -30,7 +30,7 @@
#include "lib/oofatfs/ff.h"
#include "py/mpconfig.h"
-//#include "supervisor/shared/status_leds.h"
+#include "supervisor/shared/status_leds.h"
int mp_hal_stdin_rx_chr(void) {
for (;;) {
@@ -38,14 +38,14 @@ int mp_hal_stdin_rx_chr(void) {
MICROPY_VM_HOOK_LOOP
#endif
if (serial_bytes_available()) {
- //toggle_rx_led();
+ toggle_rx_led();
return serial_read();
}
}
}
void mp_hal_stdout_tx_strn(const char *str, size_t len) {
- //toggle_tx_led();
+ toggle_tx_led();
#ifdef CIRCUITPY_BOOT_OUTPUT_FILE
if (boot_output_file != NULL) {