diff --git a/firmware/host/include/occli_common.h b/firmware/host/include/occli_common.h index e6532403d6..b6527d5526 100644 --- a/firmware/host/include/occli_common.h +++ b/firmware/host/include/occli_common.h @@ -175,8 +175,7 @@ int32_t ocmw_frame_postTable_from_schema(const Component *root); * * @return NONE */ -inline void ocmw_free_global_pointer(void **ptr); - +extern inline void ocmw_free_global_pointer(void **ptr); /* * @param root an output value (by pointer) * @param systemInfo an output value (by pointer) diff --git a/firmware/host/ocwdg/ocwdg_daemon.c b/firmware/host/ocwdg/ocwdg_daemon.c index 21a256d237..50d2050eac 100644 --- a/firmware/host/ocwdg/ocwdg_daemon.c +++ b/firmware/host/ocwdg/ocwdg_daemon.c @@ -81,12 +81,10 @@ void * ocwdg_thread_comm_with_ec(void *pthreadData) ecMsgHeader.ocmpTimestamp = OCWDG_NUMBER_ZERO; /* Frame the Core packet for sending data to ec */ - /*ecCoreMsg.action = OCMP_AXN_TYPE_REPLY; - ecCoreMsg.msgtype = WATCHDOG; - ecCoreMsg.componentID = WD; - ecCoreMsg.parameters = OCWDG_NUMBER_ZERO; - ecCoreMsg.subsystem = WD; -*/ + ecCoreMsg.action = OCMP_AXN_TYPE_REPLY; + ecCoreMsg.msgtype = OCMP_MSG_TYPE_WATCHDOG; + ecCoreMsg.parameters = 0; + /* Construct the final packet */ ecMsgFrame.header = ecMsgHeader; ecMsgFrame.message = ecCoreMsg;