From b509627b7a0f116761d4d72251e0f20725ee7024 Mon Sep 17 00:00:00 2001 From: George Sexton Date: Wed, 26 Feb 2025 20:46:36 -0700 Subject: [PATCH] Review comment --- nxp74hc595/74hc595.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxp74hc595/74hc595.go b/nxp74hc595/74hc595.go index 99a62e4..2755330 100644 --- a/nxp74hc595/74hc595.go +++ b/nxp74hc595/74hc595.go @@ -173,7 +173,7 @@ func (gr *Group) WaitForEdge(timeout time.Duration) (int, gpio.Edge, error) { // Halt frees the group's resources and prevents it from being used again. func (gr *Group) Halt() error { - gr.pins = make([]Pin, 0) + gr.pins = nil return nil }