Browse Source

Merge pull request #1626 from tae-jun/patch-2

Fix typo at rtctime.md
Johny Mattsson 7 years ago
parent
commit
016f289f31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/en/modules/rtctime.md

+ 1 - 1
docs/en/modules/rtctime.md

@@ -55,7 +55,7 @@ rtctime.dsleep(5000000, 4)
 For applications where it is necessary to take samples with high regularity, this function is useful. It provides an easy way to implement a "wake up on the next 5-minute boundary" scheme, without having to explicitly take into account how long the module has been active for etc before going back to sleep.
 For applications where it is necessary to take samples with high regularity, this function is useful. It provides an easy way to implement a "wake up on the next 5-minute boundary" scheme, without having to explicitly take into account how long the module has been active for etc before going back to sleep.
 
 
 #### Syntax
 #### Syntax
-`rtctime.dsleep(aligned_us, minsleep_us [, option])`
+`rtctime.dsleep_aligned(aligned_us, minsleep_us [, option])`
 
 
 #### Parameters
 #### Parameters
 - `aligned_us` boundary interval in microseconds
 - `aligned_us` boundary interval in microseconds