summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Duchon2012-04-17 22:26:29 +0200
committerFlorent Duchon2012-04-17 22:26:29 +0200
commit5f48d0a9f1daf4425af4f7029496bd21e0391b48 (patch)
tree08278b8fabfcb78597a279fc7cbc7ff1cccf1d69
parentbf5c5d2292f71cd5f6fa449dd9174585098eacc0 (diff)
digital/beacon: SYS_PostTask(APL_TASK_ID) is only called once in the main loop
-rw-r--r--digital/beacon/src/main_avr.c1
-rw-r--r--digital/beacon/src/network.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/digital/beacon/src/main_avr.c b/digital/beacon/src/main_avr.c
index 46fc594f..f259d22b 100644
--- a/digital/beacon/src/main_avr.c
+++ b/digital/beacon/src/main_avr.c
@@ -84,7 +84,6 @@ void APL_TaskHandler(void)
break;
}
appState = APP_NETWORK_JOINING_STATE;
- SYS_PostTask(APL_TASK_ID);
break;
case APP_NETWORK_JOINING_STATE:
network_start();
diff --git a/digital/beacon/src/network.c b/digital/beacon/src/network.c
index 14ee78ca..723a6abb 100644
--- a/digital/beacon/src/network.c
+++ b/digital/beacon/src/network.c
@@ -135,7 +135,6 @@ void ZDO_StartNetworkConf(ZDO_StartNetworkConf_t* confirmInfo)
{
// uprintf("CONNECTION FAILED. confirmInfo->status = %x\n\r",confirmInfo->status);
}
- SYS_PostTask(APL_TASK_ID);
}
@@ -154,7 +153,6 @@ void ZDO_MgmtNwkUpdateNotf(ZDO_MgmtNwkUpdateNotf_t *nwkParams)
APS_UnregisterEndpointReq(&unregEndpoint);
// try to rejoin the network
appState = APP_NETWORK_JOINING_STATE;
- SYS_PostTask(APL_TASK_ID);
break;
}
case ZDO_NWK_UPDATE_STATUS:
@@ -237,7 +235,6 @@ void zdpLeaveResp(ZDO_ZdpResp_t *zdpResp)
{
// Try to rejoin the network
appState = APP_NETWORK_JOINING_STATE;
- SYS_PostTask(APL_TASK_ID);
(void)zdpResp;
}