File tree 2 files changed +1
-8
lines changed
2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -589,13 +589,6 @@ class AudioKitStream : public AudioStream {
589
589
// / Setup the supported default actions
590
590
void setupActions () {
591
591
TRACEI ();
592
- // SPI might have been activated
593
- #ifdef ARDUINO
594
- if (!cfg.sd_active ){
595
- LOGW (" Deactivating SPI because SD is not active" );
596
- SPI.end ();
597
- }
598
- #endif
599
592
600
593
// pin conflicts with the SD CS pin for AIThinker and buttons
601
594
if (! (cfg.sd_active && (AUDIOKIT_BOARD==5 || AUDIOKIT_BOARD==6 ))){
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ class OversamplingDAC : public AudioPrint {
216
216
// / Releases the memory
217
217
virtual void reset () {
218
218
if (current_values!=nullptr ){
219
- delete last_values ;
219
+ delete current_values ;
220
220
current_values = nullptr ;
221
221
}
222
222
if (last_values!=nullptr ){
You can’t perform that action at this time.
0 commit comments