Trond Enger / d7a_1x

Fork of d7a_1x by WizziLab

Revision:
56:da34fc11e760
Parent:
50:30440c9aeb7c
Child:
57:fd9c8b67ffdc
--- a/src/d7a_alp.cpp	Wed Sep 07 09:32:01 2016 +0000
+++ b/src/d7a_alp.cpp	Thu Sep 08 09:30:24 2016 +0000
@@ -31,6 +31,15 @@
     return D7A_ERR_NONE;
 }
 
+d7a_errors_t d7a_alp_close(void)
+{
+    FPRINT("\r\n");
+
+    g_alp_ctx.thread->terminate();
+    
+    return D7A_ERR_NONE;
+}
+
 void d7a_alp_new_pkt(d7a_com_rx_msg_t* pkt)
 {
     FPRINT("\r\n");