Home
last modified time | relevance | path

Searched refs:curr_pos (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/drivers/stepper/drv8424/api/src/
Dmain.c253 int32_t curr_pos = 50; in ZTEST_F() local
262 (void)stepper_get_actual_position(fixture->dev, &curr_pos); in ZTEST_F()
263 zassert_equal(curr_pos, 0, "Current position should not have changed from %d but is %d", 0, in ZTEST_F()
264 curr_pos); in ZTEST_F()
380 int32_t curr_pos = 100; in ZTEST_F() local
389 (void)stepper_get_actual_position(fixture->dev, &curr_pos); in ZTEST_F()
390 zassert_equal(curr_pos, 0, "Current position should not have changed from %d but is %d", 0, in ZTEST_F()
391 curr_pos); in ZTEST_F()
/Zephyr-latest/subsys/shell/
Dshell_ops.c291 char *curr_pos = &sh->ctx->cmd_buff[sh->ctx->cmd_buff_pos]; in data_insert() local
297 memmove(curr_pos + len, curr_pos, after); in data_insert()
298 memcpy(curr_pos, data, len); in data_insert()