File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ static void uart0_rx_intr_handler(void *para) {
200
200
201
201
// Waits at most timeout microseconds for at least 1 char to become ready for reading.
202
202
// Returns true if something available, false if not.
203
- bool uart_rx_wait (uint32_t timeout_us ) {
203
+ bool ICACHE_FLASH_ATTR uart_rx_wait (uint32_t timeout_us ) {
204
204
uint32_t start = system_get_time ();
205
205
for (;;) {
206
206
if (uart_ringbuf .iget != uart_ringbuf .iput ) {
@@ -288,7 +288,7 @@ void ICACHE_FLASH_ATTR uart0_set_rxbuf(uint8 *buf, int len) {
288
288
#include "lib/utils/pyexec.h"
289
289
290
290
#if MICROPY_REPL_EVENT_DRIVEN
291
- void uart_task_handler (os_event_t * evt ) {
291
+ void ICACHE_FLASH_ATTR uart_task_handler (os_event_t * evt ) {
292
292
if (pyexec_repl_active ) {
293
293
// TODO: Just returning here isn't exactly right.
294
294
// What really should be done is something like
You can’t perform that action at this time.
0 commit comments