summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--digital/beacon/src/network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/digital/beacon/src/network.c b/digital/beacon/src/network.c
index 918ce3ad..50b86d71 100644
--- a/digital/beacon/src/network.c
+++ b/digital/beacon/src/network.c
@@ -31,6 +31,7 @@
#include "debug_avr.h"
#include "led.h"
+#include "motor.h"
// Endpoint parameters
static SimpleDescriptor_t simpleDescriptor = { APP_ENDPOINT, APP_PROFILE_ID, 1, 1, 0, 0 , NULL, 0, NULL };
@@ -289,6 +290,7 @@ void APS_DataIndication(APS_DataInd_t* indData)
switch(appMessage->data[NETWORK_MSG_TYPE_FIELD])
{
case NETWORK_JACK_STATE:
+ motor_start_stop_control();
break;
case NETWORK_OPPONENT_NUMBER:
break;