vdudouyt / stm8flash

program your stm8 devices with SWIM/stlinkv(1,2)
GNU General Public License v2.0
403 stars 183 forks source link

Output SWIM errors in hex, not decimal with hex prefix #167

Open rhulme opened 1 year ago

rhulme commented 1 year ago

SWIM errors are currently printed with a hex prefix but the value is actually decimal:

ERROR2("SWIM error 0x%02d\n", status[set][0]);

This PR fixes that.