summaryrefslogtreecommitdiff
path: root/chip/stm32/dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/dma.h')
-rw-r--r--chip/stm32/dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/dma.h b/chip/stm32/dma.h
index c9832fcfe3..4aed23ff05 100644
--- a/chip/stm32/dma.h
+++ b/chip/stm32/dma.h
@@ -91,7 +91,7 @@ enum {
#define DMA_PSIZE_WORD (2 << 8)
#define DMA_POLLING_INTERVAL_US 100 /* us */
-#define DMA_TRANSFER_TIMEOUT_US 100000 /* us */
+#define DMA_TRANSFER_TIMEOUT_US (100 * MSEC) /* us */
/*
* Certain DMA channels must be used for certain peripherals and transfer