Skip to content

Commit

Permalink
fix: use correct function
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Dec 15, 2023
1 parent e523405 commit e5d972f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitm/outbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (h *OutboundPacketHandler) HandlePacket(
}
return nil, nil, nil
case inverterMetrics1:
if err := handleInverterMetrics0Packet(bodyData, log); err != nil {
if err := handleInverterMetrics1Packet(bodyData, log); err != nil {
return nil, nil,
fmt.Errorf("couldn't handle inverter metrics packet: %v", err)
}
Expand Down

0 comments on commit e5d972f

Please sign in to comment.