vdudouyt / stm8flash

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

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

Open rhulme opened 11 months ago

rhulme commented 11 months 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.