changeset 2824:7b953c0c429e

* tests/flash2.c (cyg_user_start): Call cyg_flash_init with NULL arg.
author jlarmour
date Fri, 20 Feb 2009 22:32:11 +0000
parents 8266015efd09
children 149854de1e40
files packages/devs/flash/synth/current/ChangeLog packages/devs/flash/synth/current/tests/flash2.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 @@
+2009-02-20  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* tests/flash2.c (cyg_user_start): Call cyg_flash_init with
+	NULL arg.
+
 2009-02-18  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* tests/flash2.c (cyg_user_start): Update for minor flash API
--- a/packages/devs/flash/synth/current/tests/flash2.c
+++ b/packages/devs/flash/synth/current/tests/flash2.c
@@ -90,7 +90,7 @@ void cyg_user_start(void)
     CYG_TEST_INIT();
   
     cyg_flash_set_global_printf((cyg_flash_printf *)&diag_printf);
-    ret=cyg_flash_init();
+    ret=cyg_flash_init(NULL);
   
     CYG_TEST_PASS_FAIL((ret == CYG_FLASH_ERR_OK),"flash_init");