brother_mfp: fixes to hopefully satisfy the pipeline.

brother_mfp_backend
Ralph Little 2022-09-13 22:43:49 -07:00
rodzic 7f763c0763
commit 79a9b6ac44
2 zmienionych plików z 7 dodań i 5 usunięć

Wyświetl plik

@ -569,6 +569,13 @@ for be in ${BACKENDS}; do
fi
;;
brother_mfp)
if test "${HAVE_CXX11}" != "1"; then
echo "*** $be backend requires C++11 support - $DISABLE_MSG"
backend_supported="no"
fi
;;
mustek_pp)
if test "${sane_cv_use_libieee1284}" != "yes" && test "${enable_parport_directio}" != "yes"; then
echo "*** $be backend requires libieee1284 or parport-directio libraries - $DISABLE_MSG"

Wyświetl plik

@ -61,11 +61,6 @@ const char* BrotherDriver::ScanModeToText (BrotherScanMode scan_mode)
static const char *scan_mode_text[] =
{ "CGRAY", "GRAY64", "ERRDIF", "TEXT" };
if (scan_mode > (sizeof(scan_mode_text) / sizeof(scan_mode_text[0])))
{
return nullptr;
}
return scan_mode_text[scan_mode];
}