mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-04 19:59:55 +00:00
18 lines
236 B
C++
18 lines
236 B
C++
#pragma once
|
|
|
|
#include "FreeRtosThread.h"
|
|
#include "PosixThread.h"
|
|
|
|
namespace concurrency
|
|
{
|
|
|
|
#ifdef HAS_FREE_RTOS
|
|
typedef FreeRtosThread OSThread;
|
|
#endif
|
|
|
|
#ifdef __unix__
|
|
typedef PosixThread OSThread;
|
|
#endif
|
|
|
|
} // namespace concurrency
|