vdudouyt / stm8flash

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

Fix srec issue #164

Closed schneidersoft closed 11 months ago

schneidersoft commented 1 year ago

Fixes #162 as well as some other older issues

spth commented 1 year ago

I get the same error as @konstz43:

srec.c: In function ‘load_srec’:
srec.c:92:38: error: ‘addrmin’ undeclared (first use in this function); did you mean ‘addrmax’?
   92 |         const unsigned int addrmax = addrmin + data_len;
      |                                      ^~~~~~~
      |                                      addrmax