The antibanding (60Hz) broke the bar code scanner.

bug 1962986
This commit is contained in:
James Dong 2009-07-10 17:20:16 -07:00
parent 12b41c417f
commit dbdbc0d26c

View File

@ -1728,7 +1728,13 @@ void QualcommCameraHardware::setAntiBanding(int camfd, const char *antibanding)
antibandvalue = attr_lookup(anti_banding,
antibanding,
CAMERA_ANTIBANDING_60HZ);
/* FIXME:
* CAMERA_ANTIBANDING_60HZ broke the barcode scanner
* somehow. turn it off and revert it back to off
* for now until we figure out what is the best
* solution.
*/
CAMERA_ANTIBANDING_OFF /*CAMERA_ANTIBANDING_60HZ */);
ctrlCmd.value = (void *)&antibandvalue;
LOGV("In setAntiBanding: match: %s: %d",
antibanding, antibandvalue);