fixed a warning
This commit is contained in:
parent
952d1398f5
commit
118a026b2b
|
@ -295,7 +295,7 @@ blob_t * setupBlob(char * str){
|
||||||
// on non-AVR archs strtok_r fails for some reason if it operates on a
|
// on non-AVR archs strtok_r fails for some reason if it operates on a
|
||||||
// string which is located on another stack frame, so we need our own copy
|
// string which is located on another stack frame, so we need our own copy
|
||||||
memcpy (&blob->scrolltextBuffer, str, SCROLLTEXT_BUFFER_SIZE);
|
memcpy (&blob->scrolltextBuffer, str, SCROLLTEXT_BUFFER_SIZE);
|
||||||
str = &blob->scrolltextBuffer;
|
str = blob->scrolltextBuffer;
|
||||||
#endif
|
#endif
|
||||||
chop_cnt = 0;
|
chop_cnt = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue