wear_levelling
Posted: Sun Jun 11, 2017 1:20 pm
WL_Flash.cpp
esp_err_t WL_Flash::read(size_t src_addr, void *dest, size_t size)
Is this error?
453 result = this->flash_drv->read(this->cfg.start_addr + virt_addr, &((uint8_t *)dest)[i * this->cfg.page_size], size);
I think of this
453 result = this->flash_drv->read(this->cfg.start_addr + virt_addr, &((uint8_t *)dest)[i * this->cfg.page_size], this->cfg.page_size);
Also in write
mgsnmp
esp_err_t WL_Flash::read(size_t src_addr, void *dest, size_t size)
Is this error?
453 result = this->flash_drv->read(this->cfg.start_addr + virt_addr, &((uint8_t *)dest)[i * this->cfg.page_size], size);
I think of this
453 result = this->flash_drv->read(this->cfg.start_addr + virt_addr, &((uint8_t *)dest)[i * this->cfg.page_size], this->cfg.page_size);
Also in write
mgsnmp