Skip to content

Commit de47622

Browse files
committed
Do not show delete sd command in setting if MKS protocol
1 parent 3e0e7d1 commit de47622

File tree

10 files changed

+7
-2
lines changed

10 files changed

+7
-2
lines changed

config/targets/Printer3D/Marlin/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const expresscolor = chalk.green
2424
const commandcolor = chalk.white
2525
const enableAuthentication = false
2626
const SERIAL_PROTOCOL = "RAW"
27+
const SDCONNECTION = "none"
2728
let lastconnection = Date.now()
2829
let logindone = false
2930
const sessiontTime = 60000
@@ -530,7 +531,7 @@ const commandsQuery = (req, res, SendWS) => {
530531
FWTarget: "marlin",
531532
FWTargetID: "40",
532533
Setup: "Enabled",
533-
SDConnection: "direct",
534+
SDConnection: SDCONNECTION,
534535
SerialProtocol: SERIAL_PROTOCOL,
535536
Authentication: "Disabled",
536537
WebCommunication: "Synchronous",

dist/CNC/GRBL/index.html.gz

0 Bytes
Binary file not shown.

dist/CNC/GRBLHal/index.html.gz

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

dist/Printer3D/Marlin/index.html.gz

15 Bytes
Binary file not shown.

dist/Printer3D/Repetier/index.html.gz

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

dist/SandTable/GRBL/index.html.gz

0 Bytes
Binary file not shown.

src/components/App/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
import { h } from "preact"
1919
import { webUIbuild } from "../../targets"
20-
export const webUIversion = "3.0.0-3b1"
20+
export const webUIversion = "3.0.0-4b1"
2121
export const Esp3dVersion = () => (
2222
<span>
2323
{webUIversion}.{webUIbuild}

src/targets/Printer3D/Marlin/preferences.json

+4
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@
144144
{
145145
"id": "showfilespanel",
146146
"value": true
147+
},
148+
{
149+
"connection_id": "SerialProtocol",
150+
"value": "!='MKS'"
147151
}
148152
]
149153
},

0 commit comments

Comments
 (0)