This commit is contained in:
Fabien Poussin 2021-02-13 20:21:12 +01:00
parent 7fccec68d4
commit bf2ada3b98
No known key found for this signature in database
GPG Key ID: 6166CABA99FC385C
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@
#ifdef STM32_OTG1_USE_ULPI #ifdef STM32_OTG1_USE_ULPI
#error "OTG1 has no ULPI on this platform" #error "OTG1 has no ULPI on this platform"
#endif #endif
#endif
#if (STM32_OTG_FS_RXFIFO_SIZE + STM32_OTG_FS_PTXFIFO_SIZE + STM32_OTG_FS_NPTXFIFO_SIZE) > (STM32_OTG_FS_FIFO_MEM_SIZE * 4) #if (STM32_OTG_FS_RXFIFO_SIZE + STM32_OTG_FS_PTXFIFO_SIZE + STM32_OTG_FS_NPTXFIFO_SIZE) > (STM32_OTG_FS_FIFO_MEM_SIZE * 4)
#error "Not enough memory in OTG_FS implementation" #error "Not enough memory in OTG_FS implementation"
#elif (STM32_OTG_FS_RXFIFO_SIZE + STM32_OTG_FS_PTXFIFO_SIZE + STM32_OTG_FS_NPTXFIFO_SIZE) < (STM32_OTG1_FIFO_MEM_SIZE * 4) #elif (STM32_OTG_FS_RXFIFO_SIZE + STM32_OTG_FS_PTXFIFO_SIZE + STM32_OTG_FS_NPTXFIFO_SIZE) < (STM32_OTG1_FIFO_MEM_SIZE * 4)