Mercurial > ecos-v3_0-branch
comparison packages/devs/flash/spi/m25pxx/current/test/m25pxx_test.c @ 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 | 28304e4aafd7 |
| children |
comparison
equal
deleted
inserted
replaced
| 2822:baf24a92db0a | 2823:8266015efd09 |
|---|---|
| 375 (void) | 375 (void) |
| 376 { | 376 { |
| 377 do_version(); | 377 do_version(); |
| 378 diag_printf ("----\nChecking for M25Pxx compatible devices.\n"); | 378 diag_printf ("----\nChecking for M25Pxx compatible devices.\n"); |
| 379 cyg_flash_set_global_printf((cyg_flash_printf *)&diag_printf); | 379 cyg_flash_set_global_printf((cyg_flash_printf *)&diag_printf); |
| 380 cyg_flash_init(); | 380 cyg_flash_init(NULL); |
| 381 CYG_TEST_INIT(); | 381 CYG_TEST_INIT(); |
| 382 cyg_thread_create( | 382 cyg_thread_create( |
| 383 10, // Arbitrary priority | 383 10, // Arbitrary priority |
| 384 (cyg_thread_entry_t*) run_tests, // Thread entry point | 384 (cyg_thread_entry_t*) run_tests, // Thread entry point |
| 385 0, // | 385 0, // |
