remove double ASBStatus

This commit is contained in:
TT-392 2024-09-25 21:38:56 +02:00
parent 864dcb8160
commit d6576795c3

View file

@ -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)