Skip to content

Commit c64cdc1

Browse files
Call I2S::end() in I2S destructor (#1527)
Per #1524 (comment)
1 parent cc80071 commit c64cdc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/I2S/src/I2S.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ I2S::I2S(PinMode direction) {
5656
}
5757

5858
I2S::~I2S() {
59+
end();
5960
}
6061

6162
bool I2S::setBCLK(pin_size_t pin) {

0 commit comments

Comments
 (0)