|
|
|
@ -49,6 +49,9 @@ extern "C"
|
|
|
|
|
resultToCodeResult(&code, result); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
delete[] data; |
|
|
|
|
delete[] bytes; |
|
|
|
|
|
|
|
|
|
int evalInMillis = static_cast<int>(get_now() - start); |
|
|
|
|
platform_log("Read Barcode in: %d ms\n", evalInMillis); |
|
|
|
|
return code; |
|
|
|
@ -84,6 +87,9 @@ extern "C"
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
delete[] data; |
|
|
|
|
delete[] bytes; |
|
|
|
|
|
|
|
|
|
int evalInMillis = static_cast<int>(get_now() - start); |
|
|
|
|
platform_log("Read Barcode in: %d ms\n", evalInMillis); |
|
|
|
|
return {i, codes}; |
|
|
|
|