diff --git a/zbar/barcode.cpp b/zbar/barcode.cpp index 84196e7..56ffa9b 100644 --- a/zbar/barcode.cpp +++ b/zbar/barcode.cpp @@ -65,5 +65,6 @@ int main(int argc, char** argv) { scanner.set_config(zbar::ZBAR_EAN8, zbar::ZBAR_CFG_ENABLE, 1); scanner.set_config(zbar::ZBAR_EAN13, zbar::ZBAR_CFG_ENABLE, 1); scanner.set_config(zbar::ZBAR_I25, zbar::ZBAR_CFG_ENABLE, 1); + scanner.set_config(zbar::ZBAR_CODE128, zbar::ZBAR_CFG_ENABLE, 1); std::cout << "Barcode scanner initialized" << std::endl; } \ No newline at end of file