diff --git a/src/PF1550.cpp b/src/PF1550.cpp index 14e7568..fe8800c 100644 --- a/src/PF1550.cpp +++ b/src/PF1550.cpp @@ -178,7 +178,7 @@ void PF1550::configCharger(IFastCharge const i_fast_charge, _control.setInputCurrentLimit (i_input_current_limit); } -PF1550_Control * PF1550::getControlPointer(){ +PF1550_Control* PF1550::getControl(){ return &this -> _control; } diff --git a/src/PF1550.h b/src/PF1550.h index 70c53d3..2d41571 100644 --- a/src/PF1550.h +++ b/src/PF1550.h @@ -95,7 +95,7 @@ class PF1550 /* Actual PMIC event ISR handler with access to member variables */ inline void onPMICEvent() { _control.onPMICEvent(); } - PF1550_Control * getControlPointer(); + PF1550_Control* getControl(); private: