diff options
author | bunnei <bunneidev@gmail.com> | 2019-10-06 02:41:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-06 02:41:20 +0200 |
commit | deecd7f074a0547b8fc08a33fdc547eb63859e3e (patch) | |
tree | d70efa81b1824d2dc351b7355d5016e75027ed8f /src/core/hle/service/hid/hid.cpp | |
parent | Merge pull request #2943 from DarkLordZach/azure-titlebars-v2 (diff) | |
parent | audio/audout_u: Change formatting for old clang-format versions (diff) | |
download | yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.gz yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.bz2 yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.lz yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.xz yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.zst yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 8d76ba746..41bddf870 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -38,8 +38,10 @@ namespace Service::HID { // Updating period for each HID device. // TODO(ogniK): Find actual polling rate of hid constexpr s64 pad_update_ticks = static_cast<s64>(Core::Timing::BASE_CLOCK_RATE / 66); -constexpr s64 accelerometer_update_ticks = static_cast<s64>(Core::Timing::BASE_CLOCK_RATE / 100); -constexpr s64 gyroscope_update_ticks = static_cast<s64>(Core::Timing::BASE_CLOCK_RATE / 100); +[[maybe_unused]] constexpr s64 accelerometer_update_ticks = + static_cast<s64>(Core::Timing::BASE_CLOCK_RATE / 100); +[[maybe_unused]] constexpr s64 gyroscope_update_ticks = + static_cast<s64>(Core::Timing::BASE_CLOCK_RATE / 100); constexpr std::size_t SHARED_MEMORY_SIZE = 0x40000; IAppletResource::IAppletResource(Core::System& system) |