mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-27 00:35:59 -04:00
protect serial asyncmsg with indicate to prevent halt (#2272)
This commit is contained in:
parent
b19ed5fec5
commit
b43eaa8786
3 changed files with 20 additions and 17 deletions
|
@ -37,6 +37,8 @@ class USBSerial {
|
|||
void on_channel_closed();
|
||||
void setEventDispatcher(EventDispatcher* ed) { _eventDispatcher = ed; }
|
||||
|
||||
bool serial_connected() { return connected; }
|
||||
|
||||
private:
|
||||
void enable_xtal();
|
||||
void disable_pll0();
|
||||
|
@ -51,4 +53,4 @@ class USBSerial {
|
|||
EventDispatcher* _eventDispatcher = NULL;
|
||||
};
|
||||
|
||||
} // namespace portapack
|
||||
} // namespace portapack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue