Skip to content

Commit

Permalink
Do not show delete sd command in setting if MKS protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-github committed Jan 19, 2025
1 parent 3e0e7d1 commit de47622
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/targets/Printer3D/Marlin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const expresscolor = chalk.green
const commandcolor = chalk.white
const enableAuthentication = false
const SERIAL_PROTOCOL = "RAW"
const SDCONNECTION = "none"
let lastconnection = Date.now()
let logindone = false
const sessiontTime = 60000
Expand Down Expand Up @@ -530,7 +531,7 @@ const commandsQuery = (req, res, SendWS) => {
FWTarget: "marlin",
FWTargetID: "40",
Setup: "Enabled",
SDConnection: "direct",
SDConnection: SDCONNECTION,
SerialProtocol: SERIAL_PROTOCOL,
Authentication: "Disabled",
WebCommunication: "Synchronous",
Expand Down
Binary file modified dist/CNC/GRBL/index.html.gz
Binary file not shown.
Binary file modified dist/CNC/GRBLHal/index.html.gz
Binary file not shown.
Binary file modified dist/Printer3D/Marlin-embedded/index.html.gz
Binary file not shown.
Binary file modified dist/Printer3D/Marlin/index.html.gz
Binary file not shown.
Binary file modified dist/Printer3D/Repetier/index.html.gz
Binary file not shown.
Binary file modified dist/Printer3D/Smoothieware/index.html.gz
Binary file not shown.
Binary file modified dist/SandTable/GRBL/index.html.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/App/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
import { h } from "preact"
import { webUIbuild } from "../../targets"
export const webUIversion = "3.0.0-3b1"
export const webUIversion = "3.0.0-4b1"
export const Esp3dVersion = () => (
<span>
{webUIversion}.{webUIbuild}
Expand Down
4 changes: 4 additions & 0 deletions src/targets/Printer3D/Marlin/preferences.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@
{
"id": "showfilespanel",
"value": true
},
{
"connection_id": "SerialProtocol",
"value": "!='MKS'"
}
]
},
Expand Down

0 comments on commit de47622

Please sign in to comment.