Skip to content

Commit 0c88b8f

Browse files
arnavsharma990acassis
authored andcommitted
Documentation: Fix incorrect timer initialization API names
Correct the misspelled up_timer_initialize() and up_initialize() API names in the tickless OS documentation to match the declarations in include/nuttx/arch.h. Signed-off-by: arnavsharma990 <2006arnavsharma@gmail.com>
1 parent 61c30d8 commit 0c88b8f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Documentation/implementation/tickless_os.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,16 @@ Imported Intefaces
160160
The interfaces that must be provided by the platform specified code
161161
are defined in ``include/nuttx/arch.h`` and summarized below.
162162

163-
``up_timer_intialize()``
164-
^^^^^^^^^^^^^^^^^^^^^^^^
163+
``up_timer_initialize()``
164+
^^^^^^^^^^^^^^^^^^^^^^^^^
165165

166166
.. code:: c
167167
168168
void up_timer_initialize(void);
169169
170170
* **Description:** Initializes all platform-specific timer facilities.
171171
This function is called early in the initialization sequence by
172-
``up_intialize()``. On return, the current up-time should be available
172+
``up_initialize()``. On return, the current up-time should be available
173173
from ``up_timer_gettime()`` and the interval timer is ready for use
174174
(but not actively timing).
175175
* **Input Parameters:** None.

0 commit comments

Comments
 (0)