mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
NEW: support to display wired network for printer
JIRA: STUDIO-3519 Change-Id: I1c32254e249a3c0010973b17953121f4aa718f76 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
29bdbf891c
commit
be53cf4c7a
5 changed files with 22 additions and 1 deletions
|
@ -1386,6 +1386,8 @@ void MachineObject::parse_status(int flag)
|
|||
}
|
||||
|
||||
sdcard_state = MachineObject::SdcardState((flag >> 8) & 0x11);
|
||||
|
||||
network_wired = ((flag >> 18) & 0x1) != 0;
|
||||
}
|
||||
|
||||
PrintingSpeedLevel MachineObject::_parse_printing_speed_lvl(int lvl)
|
||||
|
@ -2539,6 +2541,7 @@ void MachineObject::reset()
|
|||
m_is_support_show_bak = false;
|
||||
extruder_axis_status = LOAD;
|
||||
nozzle_diameter = 0.0f;
|
||||
network_wired = false;
|
||||
|
||||
// reset print_json
|
||||
json empty_j;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue