aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-03 18:44:02 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-03 18:44:02 +0100
commitb4bb3fdb9cfcb76fb5b64e0a031a70c807ac7395 (patch)
tree96ca55820dd9475408b333b18d8fb582d51d1958
parent93e51b594a14d1537c31f07365410ded9b5de490 (diff)
parent86a9a8863270bad2fbaae75149e5f5e94e4160a1 (diff)
Merge pull request #555 from lurch/patch-1v1.0-rc1
RTC doc fix
-rw-r--r--stmhal/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/rtc.c b/stmhal/rtc.c
index ec3c0126b..ea7aa789e 100644
--- a/stmhal/rtc.c
+++ b/stmhal/rtc.c
@@ -260,7 +260,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(pyb_rtc_info_obj, pyb_rtc_info);
///
/// `weekday` is 1-7 for Monday through Sunday.
///
-/// `subseconds` is 0-59.
+/// `subseconds` counts down from 255 to 0
mp_obj_t pyb_rtc_datetime(uint n_args, const mp_obj_t *args) {
if (n_args == 1) {
// get date and time