Skip to content

Commit 12264cc

Browse files
committed
port_i2s_play: remove build error
1 parent 0b7a4c4 commit 12264cc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ports/esp32s2/i2s_common.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,6 @@ void port_i2s_allocate_init(i2s_t *self, bool left_justified) {
190190

191191

192192
void port_i2s_play(i2s_t *self, mp_obj_t sample, bool loop) {
193-
if (common_hal_audiobusio_i2sout_get_playing(self)) {
194-
common_hal_audiobusio_i2sout_stop(self);
195-
}
196-
197193
self->sample = sample;
198194
self->loop = loop;
199195
self->bytes_per_sample = audiosample_bits_per_sample(sample) / 8;

0 commit comments

Comments
 (0)