fix undef __ARM_ARCH_6M__

This commit is contained in:
hathach 2019-09-01 11:59:50 +07:00
parent 3aa6e84d98
commit 957201fc58
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@
* - M3/M4 can transfer nbytes = 1023 (maximum)
*/
enum {
#if __ARM_ARCH_6M__ == 1 // Cortex M0/M0+
#ifdef __ARM_ARCH_6M__ // Cortex M0/M0+
DMA_NBYTES_MAX = 64
#else
DMA_NBYTES_MAX = 1023