Merge pull request #2413 from openmv/res_table

misc/common: Support overriding the resolution table.
This commit is contained in:
Ibrahim Abdelkader 2024-09-04 22:22:40 +03:00 committed by GitHub
commit 37144464a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@
#define OMV_FB_ALLOC_SIZE (84K) // minimum fb alloc size
#define OMV_DMA_MEMORY DTCM // Misc DMA buffers
#define OMV_GC_BLOCK0_MEMORY DTCM // Main GC block
#define OMV_GC_BLOCK0_SIZE (54K)
#define OMV_GC_BLOCK0_SIZE (53K)
#define OMV_JPEG_SIZE (22K) // IDE JPEG buffer (header + data).
#define OMV_MSC_BUF_SIZE (2K) // USB MSC bot data
#define OMV_VFS_BUF_SIZE (1K) // VFS struct + FATFS file buffer (624 bytes)

View File

@ -293,7 +293,7 @@ typedef struct _sensor {
extern sensor_t sensor;
// Resolution table
extern const int resolution[][2];
extern uint16_t resolution[][2];
// Initialize the sensor state.
void sensor_init0();

View File

@ -53,7 +53,7 @@
#endif
// Sensor frame size/resolution table.
const int resolution[][2] = {
uint16_t resolution[][2] = {
{0, 0 },
// C/SIF Resolutions
{88, 72 }, /* QQCIF */