Skip to content

Commit

Permalink
camera: fix typo in LC_CONF bit masks
Browse files Browse the repository at this point in the history
Mask bits should be _M, not _S.

Fixes igrr#36
  • Loading branch information
igrr committed Jun 12, 2017
1 parent 03c7526 commit 14b335a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/camera/camera.c
Expand Up @@ -466,8 +466,8 @@ static void dma_desc_deinit()

static inline void i2s_conf_reset()
{
const uint32_t lc_conf_reset_flags = I2S_IN_RST_S | I2S_AHBM_RST_S
| I2S_AHBM_FIFO_RST_S;
const uint32_t lc_conf_reset_flags = I2S_IN_RST_M | I2S_AHBM_RST_M
| I2S_AHBM_FIFO_RST_M;
I2S0.lc_conf.val |= lc_conf_reset_flags;
I2S0.lc_conf.val &= ~lc_conf_reset_flags;

Expand Down

0 comments on commit 14b335a

Please sign in to comment.