Commit 932e7b17 authored by 黄振令's avatar 黄振令

【修改内容】由于9531上是大端,导致int->u8错误

parent 54daca49
......@@ -230,9 +230,9 @@ void kk_network_check(void)
int kk_permit_join(jrpc_context * ctx,EmberNodeId node,unsigned char ep,void* data)
{
EmberStatus status;
uint8_t isEnable = *(uint8_t*)data;
int isEnable = *(int*)data;
kk_network_check();
//kk_network_check();
if(isEnable == 0){
status = nwkPermitJoinCMD(FALSE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment