Trond Enger / d7a_1x

Fork of d7a_1x by WizziLab

Revision:
84:e5388f1b8ed9
Parent:
83:f4054d0b29ba
Child:
85:197f67940c0d
Child:
87:9b885d12dbb4
--- a/src/d7a_alp.cpp	Thu Jan 05 12:59:13 2017 +0000
+++ b/src/d7a_alp.cpp	Fri Jan 06 15:33:26 2017 +0000
@@ -9,6 +9,7 @@
 #include "d7a_sys.h"
 #include "d7a_alp.h"
 #include "sha.h"
+#include "d7a_typedefs.h"
 
 #if 0
     #define ALP_DPRINT(...)         DPRINT(__VA_ARGS__)
@@ -24,10 +25,11 @@
 
 static uint8_t                      g_alp_tag;
 static uint8_t                      g_alp_buffer[ALP_CMD_MAX_LENGHT];
-static Queue<d7a_com_rx_msg_t, 8>   g_alp_pkt_queue;
-static Queue<d7a_com_rx_msg_t, 8>   g_alp_pl_queue;
 static UnsolicitedMsgFunction       g_alp_uns_msg;
-static Thread                       g_alp_thread(osPriorityHigh, 512, NULL);
+
+static OS_Queue<d7a_com_rx_msg_t, 8>   g_alp_pkt_queue;
+static OS_Queue<d7a_com_rx_msg_t, 8>   g_alp_pl_queue;
+static OS_Thread                         g_alp_thread(osPriorityHigh, 512, NULL);
 
 void d7a_alp_thread();