diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-01 15:02:49 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-01 15:02:49 -0600 |
commit | f149a9dc86e03d4a1a806845446479cb104f3e4c (patch) | |
tree | 9d6c28ee92d22c85b86bac520af485d2af626df4 /nuttx | |
parent | 76207b1a0233388cc6f8a056b463871f02b3ff2b (diff) | |
download | px4-nuttx-f149a9dc86e03d4a1a806845446479cb104f3e4c.tar.gz px4-nuttx-f149a9dc86e03d4a1a806845446479cb104f3e4c.tar.bz2 px4-nuttx-f149a9dc86e03d4a1a806845446479cb104f3e4c.zip |
Cosmetic update to comments/README
Diffstat (limited to 'nuttx')
-rwxr-xr-x | nuttx/configs/galileo/README.txt | 6 | ||||
-rw-r--r-- | nuttx/include/nuttx/fs/fs.h | 26 |
2 files changed, 16 insertions, 16 deletions
diff --git a/nuttx/configs/galileo/README.txt b/nuttx/configs/galileo/README.txt index f25bd29ae..99b566d67 100755 --- a/nuttx/configs/galileo/README.txt +++ b/nuttx/configs/galileo/README.txt @@ -42,7 +42,7 @@ Serial Console to 165-5.5V. 2) In addition, a second UART provides RS-232 support via a MAX3232 driver - and is connected via a 3.5mm jack: Sleeve = GND, RING=SERIAL1_RXD, and + and is connected via a 3.5mm jack: Sleeve=GND, RING=SERIAL1_RXD, and TIP=SERIAL1_TXD. UART1 may be convenient because of its built-in RS232 drivers. But if you @@ -64,8 +64,8 @@ Running from SRAM To map and enable the 512KB block page, the following steps should be followed: - - Set ESRAMPGCTRL_BLOCK.BLOCK_PG_SYSTEM_ADDRESS_16MB to the required - address value + - Set ESRAMPGCTRL_BLOCK.BLOCK_PG_SYSTEM_ADDRESS_16MB to the required + address value - Set ESRAMPGCTRL_BLOCK.BLOCK_ENABLE_PG to 1 Once an eSRAM page is enabled, it is implicitly locked and any further diff --git a/nuttx/include/nuttx/fs/fs.h b/nuttx/include/nuttx/fs/fs.h index cf67bc4c5..46cf47f87 100644 --- a/nuttx/include/nuttx/fs/fs.h +++ b/nuttx/include/nuttx/fs/fs.h @@ -240,16 +240,16 @@ union inode_ops_u struct inode { - FAR struct inode *i_peer; /* Link to same level inode */ - FAR struct inode *i_child; /* Link to lower level inode */ - int16_t i_crefs; /* References to inode */ - uint16_t i_flags; /* Flags for inode */ - union inode_ops_u u; /* Inode operations */ + FAR struct inode *i_peer; /* Link to same level inode */ + FAR struct inode *i_child; /* Link to lower level inode */ + int16_t i_crefs; /* References to inode */ + uint16_t i_flags; /* Flags for inode */ + union inode_ops_u u; /* Inode operations */ #ifdef CONFIG_FILE_MODE - mode_t i_mode; /* Access mode flags */ + mode_t i_mode; /* Access mode flags */ #endif - FAR void *i_private; /* Per inode driver private data */ - char i_name[1]; /* Name of inode (variable) */ + FAR void *i_private; /* Per inode driver private data */ + char i_name[1]; /* Name of inode (variable) */ }; #define FSNODE_SIZE(n) (sizeof(struct inode) + (n)) @@ -260,10 +260,10 @@ struct inode struct file { - int f_oflags; /* Open mode flags */ - off_t f_pos; /* File position */ - FAR struct inode *f_inode; /* Driver interface */ - void *f_priv; /* Per file driver private data */ + int f_oflags; /* Open mode flags */ + off_t f_pos; /* File position */ + FAR struct inode *f_inode; /* Driver interface */ + void *f_priv; /* Per file driver private data */ }; /* This defines a list of files indexed by the file descriptor */ @@ -271,7 +271,7 @@ struct file #if CONFIG_NFILE_DESCRIPTORS > 0 struct filelist { - sem_t fl_sem; /* Manage access to the file list */ + sem_t fl_sem; /* Manage access to the file list */ struct file fl_files[CONFIG_NFILE_DESCRIPTORS]; }; #endif |