Skip to content

Commit

Permalink
modules/sensing: Fix build error of tap manager
Browse files Browse the repository at this point in the history
Fix build error and typo in sensing tap manager.
  • Loading branch information
SPRESENSE committed Jul 11, 2024
1 parent 3c81121 commit 91ec530
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions sdk/modules/sensing/tap/tap_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,8 @@ static int TapMngsendAcccmd(int acc_cmd)

/* send signal */

#ifdef CONFIG_CAN_PASS_STRUCTS
value.sival_ptr = NULL;
(void)sigqueue(g_tap_mng_task_id, TAP_MNG_CMD_SIGNAL, value);
#else
(void)sigqueue(g_tap_mng_task_id, TAP_MNG_CMD_SIGNAL, NULL);
#endif

}
/* waiting for command complete */
Expand Down Expand Up @@ -279,7 +275,7 @@ static void TapMngTapLibRun(void)
timeout.tv_sec = 2;
timeout.tv_nsec = 0;

/* send responce ACC_INIT complete */
/* send response ACC_INIT complete */

TapMngsendAcccmdResp();

Expand Down Expand Up @@ -784,7 +780,7 @@ int TapMngStop(int ctl_id)

TAP_MNG_NODE_LOCK();

/* Find Node from contol id */
/* Find Node from control id */

p_tapmng_node = TapMngFindNode(ctl_id);
if (NULL != p_tapmng_node)
Expand Down

0 comments on commit 91ec530

Please sign in to comment.