Skip to content

Safety stop of MP3 player #1872

Answered by pschatzmann
hash6iron asked this question in Q&A
Jan 21, 2025 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

The player follows the Arduino conventions and if you double check the class documentation there is an end() method!
However you have a different issue: somehow your heap got corrupted or your freeing the same memory multiple times!

I do not recommend to allocate and delete objects dynamically on Microcontrollers: sooner or later you risk to run into memory fragmentation issues...

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@hash6iron
Comment options

@hash6iron
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
3 replies
@hash6iron
Comment options

@pschatzmann
Comment options

@hash6iron
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants