Address review comments

This commit is contained in:
german77
2022-12-23 08:32:02 -06:00
committed by Narr the Reg
parent 8dbef30cb7
commit 82774f546a
14 changed files with 44 additions and 46 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ void Joycons::OnBatteryUpdate(std::size_t port, Joycon::ControllerType type,
return;
}
Common::Input::BatteryLevel battery{value.status.Value()};
Common::Input::BatteryLevel battery{};
switch (value.status) {
case 0:
battery = Common::Input::BatteryLevel::Empty;