mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
Ensures the RTTTL player has a persistent buffer for melody data. The player stores a pointer to the melody, which requires the buffer to outlive the function call. A static buffer guarantees this, preventing issues from accessing deallocated memory. This is safe as concurrent playback is not supported.pull/2665/head
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue