Skip to content

Commit f7d4cc0

Browse files
authored
Merge pull request #26 from arduino-libraries/rename-getter
Rename getter
2 parents 6dbb8ed + b9c3731 commit f7d4cc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PF1550.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ void PF1550::configCharger(IFastCharge const i_fast_charge,
178178
_control.setInputCurrentLimit (i_input_current_limit);
179179
}
180180

181-
PF1550_Control * PF1550::getControlPointer(){
181+
PF1550_Control* PF1550::getControl(){
182182
return &this -> _control;
183183
}
184184

src/PF1550.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class PF1550
9595
/* Actual PMIC event ISR handler with access to member variables */
9696
inline void onPMICEvent() { _control.onPMICEvent(); }
9797

98-
PF1550_Control * getControlPointer();
98+
PF1550_Control* getControl();
9999

100100

101101
private:

0 commit comments

Comments
 (0)