mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fixe jpeg mode assignment
This commit is contained in:
parent
54bf1b4334
commit
c76c75e7b0
@ -396,7 +396,7 @@ int sensor_set_pixformat(enum sensor_pixformat pixformat)
|
||||
}
|
||||
|
||||
if (pixformat == PIXFORMAT_JPEG) {
|
||||
DCMIHandle.Init.JPEGMode = DCMI_JPEG_ENABLE;
|
||||
jpeg_mode = DCMI_JPEG_ENABLE;
|
||||
}
|
||||
|
||||
return dcmi_config(jpeg_mode);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user