Il y avait des problèmes dans la libraire...
Dependencies: ST_FREQUENCY_DIVIDER ST_I2S USBDEVICE
Fork of X_NUCLEO_CCA02M1 by
Diff: BSP/XNucleoCCA02M1.cpp
- Revision:
- 6:9b8bc842aeb3
- Parent:
- 2:9f389fd8fb2e
- Child:
- 9:4c3d94b67a6b
--- a/BSP/XNucleoCCA02M1.cpp Fri Apr 21 11:22:02 2017 +0200 +++ b/BSP/XNucleoCCA02M1.cpp Fri Apr 21 19:39:27 2017 +0200 @@ -105,7 +105,7 @@ _PDM_buffer_one_ms = (uint16_t *) calloc(_PDM_samples_one_ms, sizeof(uint16_t)); /* Starting the I2S frequency divider, if needed. */ - if (_channels != 1) { + if (_channels == 2) { FrequencyDivider *divider = new FrequencyDivider(); divider->start(); }