Skip to content

Commit

Permalink
1. reduce camera init time
Browse files Browse the repository at this point in the history
  • Loading branch information
Wu Caize committed May 30, 2024
1 parent 23d09fb commit 1d1ffce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/micropython/port/src/omv/cambus.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ int cambus_readb(uint8_t slv_addr, uint16_t reg_addr, uint8_t *reg_data)
int cambus_writeb(uint8_t slv_addr, uint16_t reg_addr, uint8_t reg_data)
{
sccb_i2c_write_byte(i2c_device, slv_addr, reg_addr, sccb_reg_width, reg_data, 10);
mp_hal_delay_ms(write_bus_delay);
//mp_hal_delay_ms(write_bus_delay);
mp_hal_delay_us(100);
return 0;
}

Expand Down

0 comments on commit 1d1ffce

Please sign in to comment.