fix: Adjust pointer so extra character not included in source name when logging
The adding of UTF-8 support in 30e3ac3 / #1900 meant there was a second character present
in the symbol character strings, which was not expected here when trimming them off.
This commit is contained in:
+1
-1
@@ -225,7 +225,7 @@ void writeHeader()
|
||||
|
||||
#if defined(PCBFRSKY) || defined(PCBNV14)
|
||||
for (uint8_t i=1; i<NUM_STICKS+NUM_POTS+NUM_SLIDERS+1; i++) {
|
||||
const char * p = STR_VSRCRAW[i] + 1;
|
||||
const char * p = STR_VSRCRAW[i] + 2;
|
||||
size_t len = strlen(p);
|
||||
for (uint8_t j=0; j<len; ++j) {
|
||||
if (!*p) break;
|
||||
|
||||
Reference in New Issue
Block a user