migrate fully to freeRTOS
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
#include "SPIT_Handler.h"
|
||||
#include "SPITPlayer.h"
|
||||
|
||||
#include <chrono>
|
||||
using namespace std;
|
||||
|
||||
//static char nullChar[] = "\0";
|
||||
@@ -81,8 +80,8 @@ private:
|
||||
/** SPITClientInterface, normally the user app should implement this*/
|
||||
SPIT_ClientInterface* m_SPITClientInterface;
|
||||
SPITSocket* m_SPITSocket;
|
||||
recursive_mutex m_MutexSPITSocket;
|
||||
thread* m_ThreadReceive;
|
||||
fos::Mutex m_MutexSPITSocket;
|
||||
fos::TaskT<SPIT_Client&> * m_ThreadReceive;
|
||||
bool m_StopReceiveSPITMessages;
|
||||
|
||||
int m_ConnectionStatus;
|
||||
@@ -153,7 +152,7 @@ public:
|
||||
private:
|
||||
bool startReceiveSPITMessages();
|
||||
void stopReceiveSPITMessages();
|
||||
void receiveSPITMessage();
|
||||
static void receiveSPITMessage(SPIT_Client& rM);
|
||||
int sendSPITMessage(SPIT_Message::OPPart* p_SPITMessageOPPart);
|
||||
void fillHeader(SPIT_Message::Header* p_Header);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user