summaryrefslogtreecommitdiff
path: root/avr/timer.c
diff options
context:
space:
mode:
authorLeo C2014-11-22 13:07:04 +0100
committerLeo C2014-11-22 13:07:04 +0100
commit7f552300815ccadd45ebb3e7f0ae72a3b2e0c4e5 (patch)
tree1bb9ac83ce7fb1f6a99c6dd3445b2758330dcc95 /avr/timer.c
parent05994bd90cb36f10ff72c6a70d7cecc61b67fb2f (diff)
downloadz180-stamp-7f552300815ccadd45ebb3e7f0ae72a3b2e0c4e5.zip
Integrate fatfs. Add some sd card test commands.
Diffstat (limited to 'avr/timer.c')
-rw-r--r--avr/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avr/timer.c b/avr/timer.c
index 67b4a49..6fb19a8 100644
--- a/avr/timer.c
+++ b/avr/timer.c
@@ -25,6 +25,7 @@ ISR(TIMER3_COMPA_vect)
static int_fast8_t tick_10ms;
int_fast8_t i;
+ extern void disk_timerproc(void);
timestamp++;
@@ -34,7 +35,7 @@ ISR(TIMER3_COMPA_vect)
Stat |= S_10MS_TO;
/* Drive timer procedure of low level disk I/O module */
- //disk_timerproc();
+ disk_timerproc();
}
tick_10ms = i;
@@ -83,4 +84,3 @@ uint32_t get_timer(uint32_t base)
}
return ret - base;
}
-