Skip to content

Commit

Permalink
cpu/lm4f120: fix uninit var in periph/timer
Browse files Browse the repository at this point in the history
  • Loading branch information
smlng committed Sep 11, 2019
1 parent 0629d07 commit ddd9700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/lm4f120/periph/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ int timer_init(tim_t dev, unsigned long freq, timer_cb_t cb, void *arg)
unsigned int timer_base;
unsigned int timer_side = TIMER_A;
unsigned int timer_cfg = TIMER_CFG_SPLIT_PAIR | TIMER_CFG_A_PERIODIC_UP | TIMER_TAMR_TAMIE;
unsigned int timer_max_val;
unsigned int timer_max_val = 0;
unsigned int timer_intbit = TIMER_TIMA_TIMEOUT | TIMER_TIMA_MATCH;

switch(dev){
Expand Down

0 comments on commit ddd9700

Please sign in to comment.