提交 b486e357 编写于 作者: Z zhouhouxin 提交者: Gitee

解决watchdog超时重启

上级 e2d5c518
......@@ -21,7 +21,7 @@
#include "samgr_lite.h"
#define OPER_INTERVAL 200 // 200 ms
#define PRESSURE_BASE (1024 * 10)
#define PRESSURE_BASE (10)
enum MessageId {
MSG_NO, // receiver does not send response
......@@ -385,9 +385,8 @@ static void ReleaseIUnknown(DemoApi *demoApi)
static void DemoHandlerAndCheck(const Request *request, const Response *response)
{
printf("[hctest]DemoHandlerAndCheck request: %s\n", (char *)request->data);
printf("[hctest]DemoHandlerAndCheck response: %s\n", (char *)response->data);
(void)request;
(void)response;
}
LITE_TEST_SUIT(test, samgr, SendRequestTestSuite);
......
......@@ -21,7 +21,7 @@
#include "samgr_lite.h"
#define OPER_INTERVAL 200 // 200 ms
#define PRESSURE_BASE (1024 * 10)
#define PRESSURE_BASE (10)
enum MessageId {
MSG_NO = 1, // receiver does not send response
......@@ -321,9 +321,8 @@ static void ReleaseIUnknown(DemoApi *demoApi)
static void DemoHandlerAndCheck(const Request *request, const Response *response)
{
printf("[hctest]DemoHandlerAndCheck request: %s\n", (char *)request->data);
printf("[hctest]DemoHandlerAndCheck response: %s\n", (char *)response->data);
(void)request;
(void)response;
}
static void DemoHandler(const Request *request, const Response *response)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册