parent
dc2ee97e66
commit
24c9e8cb3f
|
@ -691,7 +691,7 @@ __exit:
|
||||||
static sfud_err aai_write(const sfud_flash *flash, uint32_t addr, size_t size, const uint8_t *data) {
|
static sfud_err aai_write(const sfud_flash *flash, uint32_t addr, size_t size, const uint8_t *data) {
|
||||||
sfud_err result = SFUD_SUCCESS;
|
sfud_err result = SFUD_SUCCESS;
|
||||||
const sfud_spi *spi = &flash->spi;
|
const sfud_spi *spi = &flash->spi;
|
||||||
uint8_t cmd_data[6], cmd_size;
|
uint8_t cmd_data[8], cmd_size;
|
||||||
bool first_write = true;
|
bool first_write = true;
|
||||||
|
|
||||||
SFUD_ASSERT(flash);
|
SFUD_ASSERT(flash);
|
||||||
|
|
Loading…
Reference in New Issue