rename EraseBlocks to EraseSectors

This commit is contained in:
soypat
2024-01-15 21:25:22 -03:00
parent c5ff13ad23
commit cb2ca239f0
3 changed files with 44 additions and 34 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ func (d *SPICard) ReadBlocks(dst []byte, startBlockIdx int64) error {
panic("unreachable numblocks<=0")
}
func (d *SPICard) EraseBlocks(startBlock, endBlock int64) error {
func (d *SPICard) EraseSectors(startSector, numberSectors int64) error {
return errors.New("sd:erase not implemented")
}