ENH: add calibration and unload filament

define new command for calibration and unload filament

Change-Id: I834680740b4052d5719193a40945ca2704a3d858
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit c742fb5feb26938152858c44056d809fe18ce742)
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2022-08-01 15:26:59 +08:00 committed by Lane.Wei
parent b5a21e6520
commit d54461413f
2 changed files with 29 additions and 24 deletions

View file

@ -210,12 +210,6 @@ MonitorPanel::~MonitorPanel()
m_hms_panel = new HMSPanel(m_tabpanel);
m_tabpanel->AddPage(m_hms_panel, _L("HMS"),"", false);
#if !BBL_RELEASE_TO_PUBLIC
m_debug_panel = new DebugPanel(m_tabpanel);
m_tabpanel->AddPage(m_debug_panel, _L("Debug"), "", false);
#endif
m_initialized = true;
show_status((int)MonitorStatus::MONITOR_NO_PRINTER);
}
@ -436,12 +430,6 @@ void MonitorPanel::update_all()
if (m_upgrade_panel->IsShown()) {
m_upgrade_panel->update(obj);
}
#if !BBL_RELEASE_TO_PUBLIC
if (m_debug_panel->IsShown()) {
m_debug_panel->update(obj);
}
#endif
}
bool MonitorPanel::Show(bool show)