fix: Clang Compilation Errors

Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
Collecting
2025-12-26 18:26:59 +00:00
parent 9f793e8a79
commit 2073d89f6e

View File

@@ -37,7 +37,7 @@ Result NpadVibration::SetSettingsService(
Result NpadVibration::SetVibrationMasterVolume(f32 master_volume) {
std::scoped_lock lock{mutex};
if (master_volume < 0.0f && master_volume > 1.0f) {
if (master_volume < 0.0f || master_volume > 1.0f) {
return ResultVibrationStrengthOutOfRange;
}