From 6539fb2d550505f48e8732e887adfe5a3469266c Mon Sep 17 00:00:00 2001 From: batt Date: Thu, 1 Jul 2010 16:24:55 +0000 Subject: [PATCH] Load first page. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3977 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/io/kblock_ram.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bertos/io/kblock_ram.c b/bertos/io/kblock_ram.c index c89d0c0f..a6dc008c 100644 --- a/bertos/io/kblock_ram.c +++ b/bertos/io/kblock_ram.c @@ -114,4 +114,5 @@ void kblockram_init(KBlockRam *ram, void *buf, size_t size, size_t block_size) ram->membuf = (uint8_t *)buf + block_size; ram->b.blk_size = block_size; ram->b.priv.vt = &kblockram_vt; + kblockram_load(&ram->b, 0); } -- 2.25.1