esp32-car/src/mode.cpp

11 lines
185 B
C++
Raw Normal View History

2024-12-28 00:38:42 +08:00
#include "mode.h"
ModeType Mode::mode = ModeType::MODE_MANUAL_CONTROL;
void Mode::processDeviceMode()
{
if (mode == ModeType::MODE_TRACK)
{
TrackingController::update();
}
}