Load first page.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 1 Jul 2010 16:24:55 +0000 (16:24 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 1 Jul 2010 16:24:55 +0000 (16:24 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3977 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/io/kblock_ram.c

index c89d0c0fa505e3fc1fe4fc8fe2ac6b4b2b5b223b..a6dc008c5b0ef65f53f71cb6007b45188f8cc8d7 100644 (file)
@@ -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);
 }