X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstmf0%2Fao_dma_stm.c;h=f3fa13b4f5c11557d8c817565529db9cc7024188;hb=c4b8aff07d5366cef2c7209729f6cd22fa67de0c;hp=e90c6bf838b11f4cca1e77df85560f7fe4c344e8;hpb=9f9d77b6d025d8285e362e53a8f728ec47adb234;p=fw%2Faltos diff --git a/src/stmf0/ao_dma_stm.c b/src/stmf0/ao_dma_stm.c index e90c6bf8..f3fa13b4 100644 --- a/src/stmf0/ao_dma_stm.c +++ b/src/stmf0/ao_dma_stm.c @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -63,7 +64,7 @@ void stm_dma_ch2_3_isr(void) { ch_mask(STM_DMA_INDEX(3))); } -void stm_dma1_ch4_5_6_isr(void) { +void stm_dma_ch4_5_6_isr(void) { ao_dma_isr(STM_DMA_INDEX(4), STM_DMA_INDEX(6), ch_mask(STM_DMA_INDEX(4)) | ch_mask(STM_DMA_INDEX(5)) |