From 7779ebb8f672f1ca26088293a1f61d17ed2e546a Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 28 Jun 2010 13:08:32 +0000 Subject: [PATCH] Add class type, fix copyright year. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3953 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/io/kblock_ram.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bertos/io/kblock_ram.c b/bertos/io/kblock_ram.c index 6707561d..30aa2afc 100644 --- a/bertos/io/kblock_ram.c +++ b/bertos/io/kblock_ram.c @@ -26,7 +26,7 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2009 Develer S.r.l. (http://www.develer.com/) + * Copyright 2010 Develer S.r.l. (http://www.develer.com/) * * --> * @@ -110,6 +110,8 @@ void kblockram_init(KBlockRam *ram, void *buf, size_t size, size_t block_size) memset(ram, 0, sizeof(*ram)); + DB(ram->b.priv.type = KBT_KBLOCKRAM); + // First page used as page buffer ram->b.blk_cnt = (size / block_size) - 1; ram->b.priv.pagebuf = buf; -- 2.25.1