mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
psee_ehc_activate_override: use the correct accumulation time
'0' was written as EHC_INTEGRATION_PERIOD
This commit is contained in:
parent
eb779fd48a
commit
8c9be315af
@ -2517,7 +2517,7 @@ EHC_StatusTypeDef psee_ehc_activate_override(EHC_HandleTypeDef *ehc, EHC_AlgoTyp
|
||||
);
|
||||
|
||||
/* EHC Accumulation time */
|
||||
psee_sensor_write(EHC_INTEGRATION_PERIOD, 0); /*!< EHC Accumulation time in us */
|
||||
psee_sensor_write(EHC_INTEGRATION_PERIOD, ehc->accumulation_period); /*!< EHC Accumulation time in us */
|
||||
|
||||
/* Check if SRAM Initialization is done */
|
||||
uint32_t flag_init_done = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user