changeset 2823:8266015efd09

* test/m25pxx_test.c (cyg_user_start): Call cyg_flash_init() with NULL argument.
author jlarmour
date Fri, 20 Feb 2009 22:31:49 +0000
parents baf24a92db0a
children 7b953c0c429e
files packages/devs/flash/spi/m25pxx/current/ChangeLog packages/devs/flash/spi/m25pxx/current/test/m25pxx_test.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/flash/spi/m25pxx/current/ChangeLog
+++ b/packages/devs/flash/spi/m25pxx/current/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-20  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* test/m25pxx_test.c (cyg_user_start): Call cyg_flash_init() with
+	NULL argument.
+
 2009-02-18  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* test/m25pxx_test.c (cyg_user_start): Update for minor flash API
--- a/packages/devs/flash/spi/m25pxx/current/test/m25pxx_test.c
+++ b/packages/devs/flash/spi/m25pxx/current/test/m25pxx_test.c
@@ -377,7 +377,7 @@ void cyg_user_start
     do_version();
     diag_printf ("----\nChecking for M25Pxx compatible devices.\n");
     cyg_flash_set_global_printf((cyg_flash_printf *)&diag_printf);
-    cyg_flash_init();
+    cyg_flash_init(NULL);
     CYG_TEST_INIT();
     cyg_thread_create(
         10,                                   // Arbitrary priority