8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d9fb35 commit 66c3ee8Copy full SHA for 66c3ee8
ports/espressif/common-hal/audiobusio/PDMIn.c
@@ -17,6 +17,7 @@
17
18
19
20
+#if CIRCUITPY_AUDIOBUSIO_PDMIN
21
22
23
@@ -126,3 +127,5 @@ uint8_t common_hal_audiobusio_pdmin_get_bit_depth(audiobusio_pdmin_obj_t *self)
126
127
uint32_t common_hal_audiobusio_pdmin_get_sample_rate(audiobusio_pdmin_obj_t *self) {
128
return self->sample_rate;
129
}
130
+
131
+#endif
ports/espressif/common-hal/audiobusio/PDMIn.h
@@ -11,6 +11,7 @@
11
#include "common-hal/audiobusio/__init__.h"
12
#include "common-hal/microcontroller/Pin.h"
13
14
15
16
typedef struct {
i2s_t i2s;
@@ -20,3 +21,5 @@ typedef struct {
uint32_t sample_rate;
uint8_t bit_depth;
} audiobusio_pdmin_obj_t;
24
25
0 commit comments