https://github.com/signal11/m-stack/blob/master/apps/bootloader/software/hex.c#L97 should be changed to chars[**4**] = '\0'; the indexes 0 1 2 3 will contain the relevant data
https://github.com/signal11/m-stack/blob/master/apps/bootloader/software/hex.c#L97
should be changed to chars[4] = '\0';
the indexes 0 1 2 3 will contain the relevant data