changeset 2825:149854de1e40

* tests/flash2.c (cyg_user_start): Call cyg_flash_init() with NULL argument. * tests/flash3.c (cyg_user_start): Ditto.
author jlarmour
date Fri, 20 Feb 2009 22:32:46 +0000
parents 7b953c0c429e
children c4521b91e076
files packages/devs/flash/synthv2/current/ChangeLog packages/devs/flash/synthv2/current/tests/flash2.c packages/devs/flash/synthv2/current/tests/flash3.c
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/flash/synthv2/current/ChangeLog
+++ b/packages/devs/flash/synthv2/current/ChangeLog
@@ -1,3 +1,9 @@
+2009-02-20  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* tests/flash2.c (cyg_user_start): Call cyg_flash_init() with
+	NULL argument.
+	* tests/flash3.c (cyg_user_start): Ditto.
+
 2009-02-18  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* tests/flash2.c (cyg_user_start): Update for minor flash API
--- a/packages/devs/flash/synthv2/current/tests/flash2.c
+++ b/packages/devs/flash/synthv2/current/tests/flash2.c
@@ -96,7 +96,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");
 
--- a/packages/devs/flash/synthv2/current/tests/flash3.c
+++ b/packages/devs/flash/synthv2/current/tests/flash3.c
@@ -120,7 +120,7 @@ void cyg_user_start(void)
     CYG_REFERENCE_OBJECT(cyg_flash_synth_flashdev_flash3);  
 
     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");