Skip to content

Commit 3915443

Browse files
committed
Pointing BoardNavigationPath to /flash when it's the default writable mount-point.
Signed-off-by: ubi de feo <[email protected]>
1 parent f6efe4e commit 3915443

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/arduino/store.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ async function store(state, emitter) {
179179
// Connected and ready
180180
state.isConnecting = false
181181
state.isConnected = true
182-
state.boardNavigationRoot = await getBoardRoot()
182+
state.boardNavigationPath = await getBoardNavigationPath()
183183
updateMenu()
184184
if (state.view === 'editor' && state.panelHeight <= PANEL_CLOSED) {
185185
state.panelHeight = state.savedPanelHeight
@@ -1699,7 +1699,7 @@ async function getAvailablePorts() {
16991699
return await serialBridge.loadPorts()
17001700
}
17011701

1702-
async function getBoardRoot() {
1702+
async function getBoardNavigationPath() {
17031703
let output = await serialBridge.execFile(await getHelperFullPath())
17041704
output = await serialBridge.run(`iget_root()`)
17051705
let boardRoot = ''

0 commit comments

Comments
 (0)