diff options
| author | Damien | 2013-11-04 23:05:48 +0000 |
|---|---|---|
| committer | Damien | 2013-11-04 23:05:48 +0000 |
| commit | 1c62d04e2eda24cb07565eb4380ece44e17ee839 (patch) | |
| tree | 993f9e97abc12e4987bd601e0139c358d036c5a6 /stm/systick.c | |
| parent | 6addc89e55b56ca7f9472a80cfac1d2b4a63f4c6 (diff) | |
Add DAC, and simple audio driver to STM code.
Diffstat (limited to 'stm/systick.c')
| -rw-r--r-- | stm/systick.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stm/systick.c b/stm/systick.c index c9d37a2df..1979ea7e0 100644 --- a/stm/systick.c +++ b/stm/systick.c @@ -14,6 +14,9 @@ void sys_tick_init(void) { // called on SysTick interrupt void SysTick_Handler(void) { sys_tick_counter++; + // hack! + void audio_drain(void); + audio_drain(); } void sys_tick_delay_ms(uint32_t delay_ms) { |
