changeset 2845:3cba13e908be

* doc/flash.sgml: Fix typos in a FLASH API listing. [ Bugzilla 1000704 ]
author jld
date Sat, 07 Mar 2009 11:59:42 +0000
parents c71ab84ece95
children 3b95bed93e40
files packages/io/flash/current/ChangeLog packages/io/flash/current/doc/flash.sgml
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/io/flash/current/ChangeLog
+++ b/packages/io/flash/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-02  Sergei Gavrikov  <sergei.gavrikov@gmail.com>
+
+	* doc/flash.sgml: Fixed typos in a FLASH API listing.
+
 2009-02-20  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* include/flash.h: Reinstate printf arg to cyg_flash_init, but it
--- a/packages/io/flash/current/doc/flash.sgml
+++ b/packages/io/flash/current/doc/flash.sgml
@@ -145,6 +145,7 @@ The following five functions return info
 __extern size_t cyg_flash_block_size(const cyg_flashaddr_t flash_base);
 
 typedef struct cyg_flash_block_info
+{
     size_t                    block_size;
     cyg_uint32                blocks;
 } cyg_flash_block_info_t;
@@ -152,7 +153,7 @@ typedef struct cyg_flash_block_info
 typedef struct {
     cyg_flashaddr_t              start;          // First address
     cyg_flashaddr_t              end;            // Last address
-    cyg_uint32                   num_block_infos // Number of entries
+    cyg_uint32                   num_block_infos;// Number of entries
     const cyg_flash_block_info_t *blocks_info;   // Info about one block size
 } cyg_flash_info_t;
 </PROGRAMLISTING>