summaryrefslogtreecommitdiff
path: root/src/input_common/helpers/joycon_protocol/common_protocol.h
diff options
context:
space:
mode:
authorGravatar Morph2023-01-29 19:52:38 -0500
committerGravatar GitHub2023-01-29 19:52:38 -0500
commit5f4647df7da58aa22be21dd26cfa6de7c5f106c9 (patch)
tree4bbcaee76bde35ddc6eff9a1c639866cf278b353 /src/input_common/helpers/joycon_protocol/common_protocol.h
parentMerge pull request #9699 from ameerj/texture-pass-desc (diff)
parentMove to Clang Format 15 (diff)
downloadyuzu-5f4647df7da58aa22be21dd26cfa6de7c5f106c9.tar.gz
yuzu-5f4647df7da58aa22be21dd26cfa6de7c5f106c9.tar.xz
yuzu-5f4647df7da58aa22be21dd26cfa6de7c5f106c9.zip
Merge pull request #9705 from behunin/patch-1
Move to Clang Format 15
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/common_protocol.h')
-rw-r--r--src/input_common/helpers/joycon_protocol/common_protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/helpers/joycon_protocol/common_protocol.h b/src/input_common/helpers/joycon_protocol/common_protocol.h
index 75d3f20a4..188f6ecfa 100644
--- a/src/input_common/helpers/joycon_protocol/common_protocol.h
+++ b/src/input_common/helpers/joycon_protocol/common_protocol.h
@@ -107,8 +107,8 @@ public:
107 * @returns output object containing the responce 107 * @returns output object containing the responce
108 */ 108 */
109 template <typename Output> 109 template <typename Output>
110 requires std::is_trivially_copyable_v<Output> DriverResult ReadSPI(SpiAddress addr, 110 requires std::is_trivially_copyable_v<Output>
111 Output& output) { 111 DriverResult ReadSPI(SpiAddress addr, Output& output) {
112 std::array<u8, sizeof(Output)> buffer; 112 std::array<u8, sizeof(Output)> buffer;
113 output = {}; 113 output = {};
114 114