mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
Omit system reference
This commit is contained in:
parent
04e9486651
commit
2c57f0fbd5
1 changed files with 1 additions and 2 deletions
|
@ -117,7 +117,7 @@ private:
|
|||
|
||||
class PSM final : public ServiceFramework<PSM> {
|
||||
public:
|
||||
explicit PSM(Core::System& system_) : ServiceFramework{system_, "psm"}, system(system_) {
|
||||
explicit PSM(Core::System& system_) : ServiceFramework{system_, "psm"} {
|
||||
// clang-format off
|
||||
static const FunctionInfo functions[] = {
|
||||
{0, &PSM::GetBatteryChargePercentage, "GetBatteryChargePercentage"},
|
||||
|
@ -181,7 +181,6 @@ private:
|
|||
|
||||
u32 battery_charge_percentage{100}; // 100%
|
||||
ChargerType charger_type{ChargerType::RegularCharger};
|
||||
Core::System& system;
|
||||
};
|
||||
|
||||
void InstallInterfaces(SM::ServiceManager& sm, Core::System& system) {
|
||||
|
|
Loading…
Reference in a new issue