mirror of https://github.com/rusefi/rusefi.git
unit_test: ThreadReference mock
This commit is contained in:
parent
c13897a2d1
commit
f765fe82be
|
@ -24,6 +24,13 @@ thread_t *chThdCreateStatic(void *wsp, size_t size,
|
||||||
|
|
||||||
#define PAL_MODE_OUTPUT_PUSHPULL 0
|
#define PAL_MODE_OUTPUT_PUSHPULL 0
|
||||||
|
|
||||||
|
namespace chibios_rt {
|
||||||
|
struct ThreadReference {
|
||||||
|
void requestTerminate() { }
|
||||||
|
void wait() { }
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
namespace chibios_rt {
|
namespace chibios_rt {
|
||||||
template <int N>
|
template <int N>
|
||||||
struct BaseStaticThread {
|
struct BaseStaticThread {
|
||||||
|
|
Loading…
Reference in New Issue