summaryrefslogtreecommitdiffstats
path: root/bsp_howto/real_time_clock.rst
diff options
context:
space:
mode:
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 )
{