From d6576795c38e4c1c0957566b2415ffab7c0c938a Mon Sep 17 00:00:00 2001 From: TT-392 Date: Wed, 25 Sep 2024 21:38:56 +0200 Subject: [PATCH] remove double ASBStatus --- epson/library_bridge.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/epson/library_bridge.go b/epson/library_bridge.go index ab649e6..321c0cf 100644 --- a/epson/library_bridge.go +++ b/epson/library_bridge.go @@ -103,12 +103,6 @@ func print_image(path *C.char, data *C.uchar, size C.int) { return } - go func() { - for status := range p.ASBStatus() { - log.Printf("received ASB status: %#v\n", status) - } - }() - byteData := C.GoBytes(unsafe.Pointer(data), C.int(size)) imgReader := bytes.NewReader(byteData) img, _, err := image.Decode(imgReader)