blackmagic-debug / blackmagic

In application debugger for ARM Cortex microcontrollers.
GNU General Public License v3.0
3.3k stars 775 forks source link

fix/ctxlink/platform #1983

Closed sidprice closed 3 weeks ago

sidprice commented 3 weeks ago

This PR addresses a crash when reporting the battery voltage in the response to the "mon swd" command. The buffer being used was not initailized before each use and multiple reports were being concatinated.