Skip to content

Commit

Permalink
fix defaults LDO settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sergforce committed Dec 27, 2018
1 parent ad38a83 commit 91b5107
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions liblms7002m.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,11 @@ int lms7_ldo_enable(struct lms7_state* st, bool enable)
uint32_t lod_regs[] = {
MAKE_LMS7002_0x0092( 0, 0, 0, 0, e, e, 0, e, 0, 0, 0, e, 0, e, 0, e),
MAKE_LMS7002_0x0093( 0, 0, 0, 0, 0, 0, 0, e, e, 0, e, e, 0, 0, 0, e),
MAKE_LMS7002_0x0095( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
MAKE_LMS7002_0x0096( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
MAKE_LMS7002_0x00A6( 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1),
MAKE_LMS7002_0x00A1( 101, 140 ),
MAKE_LMS7002_0x00A4( 140, 101 ),
MAKE_LMS7002_0x00A1( 101, 101 ),
MAKE_LMS7002_0x00A4( 101, 101 ),
};
return lms7_spi_post(st, REG_COUNT(lod_regs), lod_regs);
}
Expand Down

0 comments on commit 91b5107

Please sign in to comment.