Search found 1 match

by trombitafolyondar
Sun Jul 09, 2023 2:57 pm
Forum: ESP-IDF
Topic: [SOLVED]OTA over SD SPI
Replies: 3
Views: 3421

Re: [SOLVED]OTA over SD SPI

Hey,
Did not you intend to pass "size" and "1" the other way around to fpread?
Like this:

Code: Select all

fpread(data.data, 1, size,
               data.size - data.remaining_size, file);