summaryrefslogtreecommitdiff
path: root/firmware/app/chre/chre_test0.app/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/app/chre/chre_test0.app/main.c')
-rw-r--r--firmware/app/chre/chre_test0.app/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/app/chre/chre_test0.app/main.c b/firmware/app/chre/chre_test0.app/main.c
index 03e6d8d8..e1874494 100644
--- a/firmware/app/chre/chre_test0.app/main.c
+++ b/firmware/app/chre/chre_test0.app/main.c
@@ -89,7 +89,7 @@ void nanoappHandleEvent(uint32_t srcTid, uint16_t evtType, const void* evtData)
") cnt: %d\n", t->timerId, chreGetTime(), mCnt);
extMsg->msg = 0x01;
extMsg->val = mCnt;
- chreSendMessageToHost(extMsg, sizeof(*extMsg), 0, nanoappFreeMessage);
+ chreSendMessageToHostEndpoint(extMsg, sizeof(*extMsg), 0, CHRE_HOST_ENDPOINT_BROADCAST, nanoappFreeMessage);
if (mCnt-- <= 0)
chreTimerCancel(t->timerId);
break;