mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-16 23:31:04 +01:00
Code Refactoring: Use internal inverter instance in gotTimeout method
This commit is contained in:
@@ -68,7 +68,7 @@ bool RealTimeRunDataCommand::handleResponse(InverterAbstract& inverter, const fr
|
||||
return true;
|
||||
}
|
||||
|
||||
void RealTimeRunDataCommand::gotTimeout(InverterAbstract& inverter)
|
||||
void RealTimeRunDataCommand::gotTimeout()
|
||||
{
|
||||
inverter.Statistics()->incrementRxFailureCount();
|
||||
_inv->Statistics()->incrementRxFailureCount();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user