Skip to content

Commit

Permalink
Rename getter removing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
sebromero committed Feb 29, 2024
1 parent 6dbb8ed commit b9c3731
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PF1550.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/PF1550.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b9c3731

Please sign in to comment.