diff options
author | Joel Sherrill <joel@rtems.org> | 2016-10-27 19:47:07 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-10-27 19:47:07 -0500 |
commit | 36def9125c9adf4049a18105d48715ac8606e1ec (patch) | |
tree | b9a3c06d3fad69f3213474d5d16d844b862cc268 /bsp_howto | |
parent | initilization_code.rst: Fix figure formatting (diff) | |
download | rtems-docs-36def9125c9adf4049a18105d48715ac8606e1ec.tar.bz2 |
rtems-docs: Fix many unnecessary back slashes
Diffstat (limited to 'bsp_howto')
-rw-r--r-- | bsp_howto/console.rst | 10 | ||||
-rw-r--r-- | bsp_howto/miscellanous_support.rst | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/bsp_howto/console.rst b/bsp_howto/console.rst index 3b15a65..bcca519 100644 --- a/bsp_howto/console.rst +++ b/bsp_howto/console.rst @@ -220,18 +220,18 @@ header file. #include <rtems/termiostypes.h> #include <some-chip-header.h> - /* Low-level driver specific data structure \*/ + /* Low-level driver specific data structure */ typedef struct { rtems_termios_device_context base; - const char \*device_name; - volatile module_register_block \*regs; - /* More stuff \*/ + const char *device_name; + volatile module_register_block *regs; + /* More stuff */ } my_driver_context; extern const rtems_termios_handler my_driver_handler_polled; extern const rtems_termios_handler my_driver_handler_interrupt; - #endif /* MY_DRIVER_H \*/ + #endif /* MY_DRIVER_H */ Termios and Polled IO --------------------- diff --git a/bsp_howto/miscellanous_support.rst b/bsp_howto/miscellanous_support.rst index 0009654..59b1339 100644 --- a/bsp_howto/miscellanous_support.rst +++ b/bsp_howto/miscellanous_support.rst @@ -260,10 +260,10 @@ follows: .. code:: c - rtems_isr_entry set_vector( /* returns old vector \*/ - rtems_isr_entry handler, /* isr routine \*/ - rtems_vector_number vector, /* vector number \*/ - int type /* RTEMS or RAW intr \*/ + rtems_isr_entry set_vector( /* returns old vector */ + rtems_isr_entry handler, /* isr routine */ + rtems_vector_number vector, /* vector number */ + int type /* RTEMS or RAW intr */ ) { if the type is RAW |