summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-13 13:36:15 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-13 13:36:15 -0600
commit4bac7ce0209a23605a6ec833527ff18ec3e68400 (patch)
treeec14345b6064c5d9ce98da4623488aced83f59d4 /nuttx/include
parent9a5662c5298351941c747823115472b3d1c02879 (diff)
downloadpx4-nuttx-4bac7ce0209a23605a6ec833527ff18ec3e68400.tar.gz
px4-nuttx-4bac7ce0209a23605a6ec833527ff18ec3e68400.tar.bz2
px4-nuttx-4bac7ce0209a23605a6ec833527ff18ec3e68400.zip
STM32 RTC driver lower half: Implement the settime method of the RTC interface
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/rtc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/rtc.h b/nuttx/include/nuttx/rtc.h
index 213fbd90c..1c30d2a33 100644
--- a/nuttx/include/nuttx/rtc.h
+++ b/nuttx/include/nuttx/rtc.h
@@ -269,7 +269,8 @@
/* Broken-out time representation used with RTC IOCTL commands:
*
* The fields in this structure have the same meaning and ranges as for the
- * tm structure described in gmtime().
+ * tm structure described in gmtime(). Further, it is REQUIRED that the
+ * structure be cast compatible with struct tm! They must be interchangeable.
*/
struct rtc_time