Skip to content

Commit

Permalink
Remove Flash as Macro source for Marlin embedded because [ESP700] doe…
Browse files Browse the repository at this point in the history
…s nothing on Marlin FW

Fix `//` in path of SD macro if any
  • Loading branch information
luc-github committed Dec 21, 2023
1 parent 67f886c commit 7b1a520
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 4 deletions.
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/Plotter/HP-GL/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-a45'
export const webUIversion = '3.0.0-a46'
export const Esp3dVersion = () => (
<span>
{webUIversion}.{webUIbuild}
Expand Down
4 changes: 4 additions & 0 deletions src/tabs/interface/importHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ function formatItem(itemData, index = -1, origineId = "extrapanels") {
connection_id: "FlashFileSystem",
value: "!='none'",
},
{
connection_id: "FWTargetID",
value: "!='30'",
},
],
},
{
Expand Down
3 changes: 2 additions & 1 deletion src/targets/Printer3D/Marlin-embedded/SD-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ const commands = {
return res
},
play: (path, filename) => {
let cmdstr = 'M23 ' + path + (path == '/' ? '' : '/') + filename + '\nM24'
return {
type: 'cmd',
cmd: 'M23 ' + path + (path == '/' ? '' : '/') + filename + '\nM24',
cmd: cmdstr.replace("//", "/"),
}
},
delete: (path, filename) => {
Expand Down
3 changes: 2 additions & 1 deletion src/targets/Printer3D/Marlin/SD-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,10 @@ const commands = {
return res
},
play: (path, filename) => {
let cmdstr = 'M23 ' + path + (path == '/' ? '' : '/') + filename + '\nM24'
return {
type: 'cmd',
cmd: 'M23 ' + path + (path == '/' ? '' : '/') + filename + '\nM24',
cmd: cmdstr.replace("//", "/"),
}
},
delete: (path, filename) => {
Expand Down
3 changes: 2 additions & 1 deletion src/targets/Printer3D/Marlin/SDEXT-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ const commands = {
return res
},
play: (path, filename) => {
let cmdstr = 'M23 ' + path + (path == '/' ? '' : '/') + filename + '\nM24'
return {
type: 'cmd',
cmd: 'M23 ' + path + (path == '/' ? '' : '/') + filename + '\nM24',
cmd: cmdstr.replace("//", "/"),
}
},
delete: (path, filename) => {
Expand Down

0 comments on commit 7b1a520

Please sign in to comment.