tests: kernel: timer: timer_api: Correct one-shot typo

Fixed typos for one-shot to match Zephyr docs

Signed-off-by: Eric Johnson <eric@liveathos.com>
This commit is contained in:
Eric Johnson 2021-03-05 08:42:16 -06:00 committed by Anas Nashif
parent 723b638476
commit 0916c58c68
1 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ void test_timer_restart(void)
* @brief Test Timer with zero period value
*
* Validates initial timer duration, keeping timer period to zero.
* Basically, acting as one-short timer.
* Basically, acting as one-shot timer.
* It initializes the timer with k_timer_init(), then starts the timer
* using k_timer_start() with specific initial duration and period as
* zero. Stops the timer using k_timer_stop() and checks for proper
@ -258,7 +258,7 @@ void test_timer_period_0(void)
/* Need to wait at least 2 durations to ensure one-shot behavior. */
busy_wait_ms(2 * DURATION + 1);
/** TESTPOINT: ensure it is one-short timer */
/** TESTPOINT: ensure it is one-shot timer */
TIMER_ASSERT((tdata.expire_cnt == 1)
|| (INEXACT_MS_CONVERT
&& (tdata.expire_cnt == 0)), &period0_timer);