esp32-car/src/mode.cpp

11 lines
185 B
C++

#include "mode.h"
ModeType Mode::mode = ModeType::MODE_MANUAL_CONTROL;
void Mode::processDeviceMode()
{
if (mode == ModeType::MODE_TRACK)
{
TrackingController::update();
}
}