forked from emilevs/label_printer
remove double ASBStatus
This commit is contained in:
parent
864dcb8160
commit
d6576795c3
1 changed files with 0 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue