diff options
Diffstat (limited to 'src/input_common/helpers')
| -rw-r--r-- | src/input_common/helpers/joycon_protocol/common_protocol.h | 4 |
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 | ||