Revision 14
minor change in timer_display_conf
timer.c | ||
---|---|---|
78 | 78 |
int (timer_display_conf)(uint8_t timer, uint8_t st, enum timer_status_field field) { |
79 | 79 |
union timer_status_field_val conf; |
80 | 80 |
uint8_t in_mode; |
81 |
if(field == tsf_all || field == tsf_initial){
|
|
81 |
if(field == tsf_initial){ |
|
82 | 82 |
in_mode = (st & TIMER_INMODE_MASK) >> TIMER_INMODE_POS; |
83 | 83 |
switch(in_mode){ |
84 | 84 |
case 0: conf.in_mode = INVAL_val ; break; //000 |
Also available in: Unified diff