[drv.uart] Replace user code with new channels

Move all the user space uses of channels to use j6::channel.
This commit is contained in:
Justin C. Miller
2023-03-16 19:52:47 -07:00
parent 3ab1a6b170
commit 692e0d8656
6 changed files with 54 additions and 56 deletions

View File

@@ -19,6 +19,7 @@ public:
char read();
void handle_interrupt();
void do_write();
private:
bool m_writing;
@@ -28,6 +29,5 @@ private:
util::spinlock m_lock;
void do_read();
void do_write();
void handle_error(uint16_t reg, uint8_t value);
};