changeset 1388:c52376a49516

tests/flash1.c: Update flash_init() call to reflect new prototype.
author asl
date Mon, 24 Nov 2003 11:21:28 +0000
parents 5d11e2db0035
children 587b0b1c6927
files packages/devs/flash/synth/current/ChangeLog packages/devs/flash/synth/current/tests/flash1.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/flash/synth/current/ChangeLog
+++ b/packages/devs/flash/synth/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-20  Jani Monoses <jani@iv.ro>
+	
+	tests/flash1.c: Update flash_init() call to reflect
+	new prototype.
+	
 2002-01-23  Jonathan Larmour  <jlarmour@redhat.com>
 
 	* cdl/flash_synth.cdl: Add CYGMEM_FLASH_SYNTH_BASE to allow
--- a/packages/devs/flash/synth/current/tests/flash1.c
+++ b/packages/devs/flash/synth/current/tests/flash1.c
@@ -87,7 +87,7 @@ void cyg_user_start(void)
 
     CYG_TEST_INIT();
   
-    ret=flash_init(NULL,0,(_printf *)diag_printf);
+    ret=flash_init((_printf *)diag_printf);
   
     CYG_TEST_PASS_FAIL((ret == FLASH_ERR_OK),"flash_init");