diff packages/io/flash/current/include/flash.h @ 121:6bd9d475ed4b ecos-sw-2000-09-04

Merge from eCos master repository on 2000-09-04-20:50:20-BST
author jlarmour
date Mon, 04 Sep 2000 20:24:12 +0000
parents 77cec8369160
children a9ac27ec7abc
line wrap: on
line diff
--- a/packages/io/flash/current/include/flash.h
+++ b/packages/io/flash/current/include/flash.h
@@ -51,7 +51,7 @@
 extern int flash_init(void *work_space, int work_space_length);
 extern int flash_erase(void *base, int len, void **err_address);
 extern int flash_program(void *flash_base, void *ram_base, int len, void **err_address);
-#ifdef CYGHWR_IO_FLASH_BLOCK_LOCKING
+#if 0 < CYGHWR_IO_FLASH_BLOCK_LOCKING // This is an *interface*
 extern int flash_lock(void *base, int len, void **err_address);
 extern int flash_unlock(void *base, int len, void **err_address);
 #endif