summaryrefslogtreecommitdiffstats
path: root/bsp_howto/real_time_clock.rst
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-10-27 20:01:18 -0500
committerJoel Sherrill <joel@rtems.org>2016-10-27 20:01:18 -0500
commitf29b7c1cc5dfe039752fde5556e712f1897a0df6 (patch)
tree7a324d16fec5818f8a1fbc086e7decc6a916a564 /bsp_howto/real_time_clock.rst
parentrtems-docs: Fix many unnecessary back slashes (diff)
downloadrtems-docs-f29b7c1cc5dfe039752fde5556e712f1897a0df6.tar.bz2
bsp_howto: Fix code-block markup
Diffstat (limited to 'bsp_howto/real_time_clock.rst')
-rw-r--r--bsp_howto/real_time_clock.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp_howto/real_time_clock.rst b/bsp_howto/real_time_clock.rst
index f66a410..457c6e0 100644
--- a/bsp_howto/real_time_clock.rst
+++ b/bsp_howto/real_time_clock.rst
@@ -42,7 +42,7 @@ on a particular board. This would be useful for a BSP supporting multiple
board models. The relevant ports of the DMV177's ``RTC_Table`` configuration
table is below:
-.. code:: c
+.. code-block:: c
#include <bsp.h>
#include <libchip/rtc.h>
@@ -195,7 +195,7 @@ checkRealTime
The ``checkRealTime`` routine returns the number of seconds difference between
the RTC TOD and the current RTEMS TOD.
-.. code:: c
+.. code-block:: c
int checkRealTime( void )
{