Skip to content

Commit 1d1ffce

Browse files
author
Wu Caize
committed
1. reduce camera init time
1 parent 23d09fb commit 1d1ffce

File tree

1 file changed

+2
-1
lines changed
  • components/micropython/port/src/omv

1 file changed

+2
-1
lines changed

components/micropython/port/src/omv/cambus.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ int cambus_readb(uint8_t slv_addr, uint16_t reg_addr, uint8_t *reg_data)
277277
int cambus_writeb(uint8_t slv_addr, uint16_t reg_addr, uint8_t reg_data)
278278
{
279279
sccb_i2c_write_byte(i2c_device, slv_addr, reg_addr, sccb_reg_width, reg_data, 10);
280-
mp_hal_delay_ms(write_bus_delay);
280+
//mp_hal_delay_ms(write_bus_delay);
281+
mp_hal_delay_us(100);
281282
return 0;
282283
}
283284

0 commit comments

Comments
 (0)