diff packages/io/flash/current/include/flash.h @ 177:4c750ce71ae3

Merge from eCos master repository on 2001-08-10-19:22:57-BST
author jlarmour
date Fri, 10 Aug 2001 19:27:55 +0000
parents 38892b97b685
children 022f1e506033
line wrap: on
line diff
--- a/packages/io/flash/current/include/flash.h
+++ b/packages/io/flash/current/include/flash.h
@@ -55,7 +55,7 @@ externC int flash_init(void *work_space,
 externC int flash_erase(void *base, int len, void **err_address);
 externC int flash_program(void *flash_base, void *ram_base, int len, void **err_address);
 externC void flash_dev_query(void *data);
-#if 0 < CYGHWR_IO_FLASH_BLOCK_LOCKING // This is an *interface*
+#ifdef CYGHWR_IO_FLASH_BLOCK_LOCKING
 externC int flash_lock(void *base, int len, void **err_address);
 externC int flash_unlock(void *base, int len, void **err_address);
 #endif