Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of d7a_1x by
Diff: src/d7a_alp.cpp
- Revision:
- 84:e5388f1b8ed9
- Parent:
- 83:f4054d0b29ba
- Child:
- 85:197f67940c0d
- Child:
- 87:9b885d12dbb4
diff -r f4054d0b29ba -r e5388f1b8ed9 src/d7a_alp.cpp --- 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();