mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-06 03:29:17 +00:00
realHardware allows full use of a CPU core
This commit is contained in:
parent
091b174e2b
commit
a56401306f
@ -5,6 +5,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
|
#include "PortduinoGPIO.h"
|
||||||
#include "PortduinoGlue.h"
|
#include "PortduinoGlue.h"
|
||||||
#include "PowerFSM.h"
|
#include "PowerFSM.h"
|
||||||
#include "mesh/MeshTypes.h"
|
#include "mesh/MeshTypes.h"
|
||||||
@ -34,6 +35,7 @@ std::condition_variable loopCV;
|
|||||||
// single, currently running, test case.
|
// single, currently running, test case.
|
||||||
void runLoopOnce()
|
void runLoopOnce()
|
||||||
{
|
{
|
||||||
|
realHardware = true; // Avoids delay(100) within portduino/main.cpp
|
||||||
std::unique_lock<std::mutex> lck(loopLock);
|
std::unique_lock<std::mutex> lck(loopLock);
|
||||||
fuzzerRunning = true;
|
fuzzerRunning = true;
|
||||||
loopCanRun = true;
|
loopCanRun = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user