Commit 54d30793 authored by Maciej Lipinski's avatar Maciej Lipinski

[FRAM/VXS] bugfix: erase in fram

parent 88b97127
......@@ -70,7 +70,7 @@ int fram_erase(uint32_t addr, int count)
uint8_t buf[1] = {0xff};
for (i = 0; i < count; i++)
flash_write(addr+i, buf , 1);
fram_write(addr+i, buf , 1);
return count;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment