machine/rp2040: correct write block size for flash

Signed-off-by: deadprogram <ron@hybridgroup.com>
Этот коммит содержится в:
deadprogram 2023-05-06 13:21:25 +02:00 коммит произвёл Ron Evans
родитель 7e8a2e8934
коммит d331aca296

Просмотреть файл

@ -195,7 +195,7 @@ func (f flashBlockDevice) Size() int64 {
return int64(FlashDataEnd() - FlashDataStart())
}
const writeBlockSize = 4
const writeBlockSize = 1 << 8
// WriteBlockSize returns the block size in which data can be written to
// memory. It can be used by a client to optimize writes, non-aligned writes