This is an automated email from the ASF dual-hosted git repository. wes3 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push: new d4b3e5a hw/mcu/dialog: Fix unitialized variable in hal_timer_stop (#2169) d4b3e5a is described below commit d4b3e5a07587ef058a2d3ab0afd7669bf1654e24 Author: wes3 <william.sanfili...@juul.com> AuthorDate: Mon Jan 27 12:53:37 2020 -0800 hw/mcu/dialog: Fix unitialized variable in hal_timer_stop (#2169) The local variable 'reset' was not initialized prior to use. --- hw/mcu/dialog/da1469x/src/hal_timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/mcu/dialog/da1469x/src/hal_timer.c b/hw/mcu/dialog/da1469x/src/hal_timer.c index 85da329..6476fa0 100644 --- a/hw/mcu/dialog/da1469x/src/hal_timer.c +++ b/hw/mcu/dialog/da1469x/src/hal_timer.c @@ -515,6 +515,7 @@ hal_timer_stop(struct hal_timer *timer) return 0; } + reset = 0; tmr = timer->bsp_timer; __HAL_DISABLE_INTERRUPTS(primask);