diff options
author | Christian Cunningham <cc@localhost> | 2022-02-04 00:05:50 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-04 00:05:50 -0700 |
commit | cfebe5feb55777bb377ff310b8cde03f3e0c25ff (patch) | |
tree | 7877e930627b5665431ed2104fb79e20a8ef1159 /src/cpu | |
parent | f4f23afb28268570d0da7f70bda6d2bcf760f839 (diff) |
Access Uart through rotating buffer
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/irq.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c index 2197067..15603b9 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -84,6 +84,9 @@ unsigned long c_fiq_handler(void) if (counter % 0x6000 == 0) { counter = 0; } + if (counter % 0x8 == 0) { + add_thread(uart_flush, 0, 5); + } if (counter % 0x30 == 0) { return 1; } |