When snprintf() if called we need to read the return value to see how many bytes were written. Then when we call strncpy_P() through TranslateProgress(), we need to tell the code to start writing at byte 'len', or &msg[len]. Also we need to update the byte size which strncpy_P() is allowed to write (64 - len).
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|