mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-19 06:23:44 +02:00
Revert stopping serial manager in wifi mode
This commit is contained in:
@@ -20,12 +20,6 @@ void SerialManager::setup()
|
||||
usb_serial_jtag_driver_install(&usb_serial_jtag_config);
|
||||
}
|
||||
|
||||
bool SerialManager::isConnected()
|
||||
{
|
||||
// in preparation for handling uart as well
|
||||
return usb_serial_jtag_is_connected();
|
||||
}
|
||||
|
||||
void SerialManager::try_receive()
|
||||
{
|
||||
static auto current_position = 0;
|
||||
|
||||
@@ -34,7 +34,6 @@ class SerialManager
|
||||
public:
|
||||
explicit SerialManager(std::shared_ptr<CommandManager> commandManager, esp_timer_handle_t *timerHandle, std::shared_ptr<ProjectConfig> deviceConfig);
|
||||
void setup();
|
||||
bool isConnected();
|
||||
void try_receive();
|
||||
void send_heartbeat();
|
||||
bool should_send_heartbeat();
|
||||
|
||||
Reference in New Issue
Block a user