Skip to content

Commit

Permalink
Update Zephyr MSDK Hal based on MSDK PR: analogdevicesinc/msdk#1128
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and ozersa committed Sep 11, 2024
1 parent a60c659 commit e809e58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MAX/Libraries/PeriphDrivers/Source/TMR/tmr_revb.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ int MXC_TMR_RevB_Init(mxc_tmr_revb_regs_t *tmr, mxc_tmr_cfg_t *cfg, uint8_t clk_
// Clear interrupt flag
tmr->intfl |= (MXC_F_TMR_REVB_INTFL_IRQ_A | MXC_F_TMR_REVB_INTFL_IRQ_B);

MXC_TMR_RevB_SetClockSource(tmr, cfg->bitMode, cfg->clock);
MXC_TMR_RevB_SetPrescalar(tmr, cfg->bitMode, cfg->pres);
MXC_TMR_RevB_SetClockSource(tmr, cfg->bitMode, clk_src);
MXC_TMR_RevB_SetPrescalar(tmr, cfg->bitMode, clk_src);

//TIMER_16B only supports compare, oneshot and continuous modes.
switch (cfg->mode) {
Expand Down
2 changes: 1 addition & 1 deletion MAX/msdk_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
186bb2c60b0a2eb020ae4e57f1e6292f1ef09313
0a1aa6507d9501374bb7acbef7aa29bc08e018e1

0 comments on commit e809e58

Please sign in to comment.