Il y avait des problèmes dans la libraire...
Fork of ST_I2S by
Diff: targets/TARGET_STM/stm_i2s_api.c
- Revision:
- 16:04e1abb4cca3
- Parent:
- 15:13ee1f813328
- Child:
- 18:1ccbfe84f550
--- a/targets/TARGET_STM/stm_i2s_api.c Fri Jan 20 11:08:01 2017 +0100 +++ b/targets/TARGET_STM/stm_i2s_api.c Wed Jan 25 13:56:15 2017 +0100 @@ -13,7 +13,7 @@ #include "PeripheralPins.h" #include "StmI2sPeripheralPins.h" -// #define DEBUG_STDIO 1 // betzw - TODO: temporarily enable debug printfs +// #define DEBUG_STDIO 1 #ifndef DEBUG_STDIO # define DEBUG_STDIO 0 @@ -630,7 +630,7 @@ switch(HAL_I2S_GetState(i2s_handle)) { case HAL_I2S_STATE_READY: { - // adjust buffer positions (betzw - TODO: to be checked for DMA transfers!!!) + // adjust buffer positions int tx_size = (i2s_handle->TxXferSize - i2s_handle->TxXferCount); int rx_size = (i2s_handle->RxXferSize - i2s_handle->RxXferCount);