migrate fully to freeRTOS

This commit is contained in:
2025-02-15 22:21:19 +01:00
parent 4e94d7ad78
commit c13310d540
22 changed files with 226 additions and 410 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
#ifndef SPITSOCKET_H
#define SPITSOCKET_H
#include "_SPITMACROS.h"
#include <mutex>
#include "Mutex.hpp"
#include <unordered_map>
#include <string>
@@ -59,7 +59,7 @@ public:
};
private:
static recursive_mutex s_MutexIPAddresses;
static fos::Mutex s_MutexIPAddresses;
public:
static unordered_map<string, IPAddress*> s_IPAddresses;
static void addIPAddress(string p_IPAddress, string p_SubnetMask);
@@ -83,7 +83,7 @@ private:
string m_BoundClientPort; //port set after bind
int m_BoundClientFamily;
bool m_IsBound;
recursive_mutex m_MutexSocket;
fos::Mutex m_MutexSocket;
public:
/**
* Sets the ip address and port for server and client.