Skip to content

Commit 90c01da

Browse files
authored
Fix build error in ESP-IDF
Fixes: #5562
1 parent 000d967 commit 90c01da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/firmware_msc_fat.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static size_t cplstr(void *dst, const void * src, size_t max_len){
2929
//copy up to max_len chars from src to dst, adding spaces up to max_len. do not terminate
3030
static void cplstrsp(void *dst, const void * src, size_t max_len){
3131
size_t l = cplstr(dst, src, max_len);
32-
for(l; l < max_len; l++){
32+
for(; l < max_len; l++){
3333
((uint8_t*)dst)[l] = 0x20;
3434
}
3535
}

0 commit comments

Comments
 (0)