mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 23:59:49 -04:00
htc: implement much of worker receive logic
This commit is contained in:
parent
8f85cc17dc
commit
679fec2ddc
19 changed files with 565 additions and 12 deletions
|
@ -34,6 +34,10 @@ namespace ams::htclow {
|
|||
ChannelState_Disconnected = 3,
|
||||
};
|
||||
|
||||
struct ChannelConfig {
|
||||
bool flow_control_enabled;
|
||||
};
|
||||
|
||||
constexpr bool IsStateTransitionAllowed(ChannelState from, ChannelState to) {
|
||||
switch (from) {
|
||||
case ChannelState_Connectable:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue