Skip to content

Commit

Permalink
Fixes for editor connection and serial
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Dec 6, 2024
1 parent 3952f33 commit dbea0d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions VortexEngine/src/Menus/MenuList/EditorConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ void EditorConnection::listenModeVL()
m_state = STATE_LISTEN_MODE_VL;
}

void EditorConnection::onShortClickM()
void EditorConnection::onShortClick()
{
// if the device has received any commands do not reset!
if (!m_allowReset) {
Expand All @@ -366,7 +366,7 @@ void EditorConnection::onShortClickM()
m_allowReset = false;
}

void EditorConnection::onLongClickM()
void EditorConnection::onLongClick()
{
leaveMenu(true);
}
Expand Down
11 changes: 2 additions & 9 deletions VortexEngine/src/Menus/MenuList/EditorConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,9 @@ class EditorConnection : public Menu
void sendCurModeVL();
void listenModeVL();

// pull/push through the chromalink
bool pullHeaderChromalink();
bool pushHeaderChromalink();
bool pullModeChromalink();
bool pushModeChromalink();
bool writeDuoFirmware();

// handlers for clicks
void onShortClickM() override;
void onLongClickM() override;
void onShortClick() override;
void onLongClick() override;

// menu conn
void leaveMenu(bool doSave = false) override;
Expand Down
1 change: 0 additions & 1 deletion VortexEngine/src/Serial/Serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "../Time/TimeControl.h"
#include "../Time/Timings.h"
#include "../Modes/Modes.h"
#include "../Menus/MainMenu.h"
#include "../Menus/Menus.h"
#include "../Log/Log.h"

Expand Down

0 comments on commit dbea0d4

Please sign in to comment.