mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 07:18:22 -04:00
htc: declare and begin impl of HtclowManagerImpl interface
This commit is contained in:
parent
968ce12492
commit
e20c2450ce
20 changed files with 405 additions and 9 deletions
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2020 Atmosphère-NX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
#include <stratosphere.hpp>
|
||||
#include "htclow_packet.hpp"
|
||||
|
||||
namespace ams::htclow {
|
||||
|
||||
constexpr inline const ChannelConfig DefaultChannelConfig = {
|
||||
.flow_control_enabled = true,
|
||||
.handshake_enabled = true,
|
||||
.max_packet_size = 0xE000 + sizeof(PacketHeader),
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue