mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-09 01:13:40 +00:00
rename EraseBlocks to EraseSectors
This commit is contained in:
+1
-1
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user