This commit is contained in:
@@ -74,7 +74,7 @@ const PrinterStatus P700Printer::getPrinterStatus() {
|
||||
std::vector<uint8_t> recvBuf(32);
|
||||
while (tries++ < MAX_TRIES_GET_STATUS) {
|
||||
std::this_thread::sleep_for(100ms);
|
||||
mUsbHndl->bulkTransfer(p700::commands::INFO[0], recvBuf, &tx, 0);
|
||||
mUsbHndl->bulkTransfer(p700::commands::PRINTER_INFO[0], recvBuf, &tx, 0);
|
||||
}
|
||||
|
||||
return PrinterStatus{.tapeWidthMm = recvBuf[10]};
|
||||
|
Reference in New Issue
Block a user