Skip to content

Commit 79b754e

Browse files
committed
Move functions close to each other
1 parent db8a85f commit 79b754e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

preload.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ const Serial = {
2323
},
2424
stop: async () => {
2525
await board.stop()
26+
return Promise.resolve()
27+
},
28+
exit_raw_repl: async () => {
2629
await board.exit_raw_repl()
2730
return Promise.resolve()
2831
},
@@ -70,9 +73,6 @@ const Serial = {
7073
createFolder: async (folder) => {
7174
return await board.fs_mkdir(folder)
7275
},
73-
exit_raw_repl: async () => {
74-
return board.exit_raw_repl()
75-
},
7676
getNavigationPath: (navigation, target) => {
7777
return [navigation, target].filter(p => p).join('/')
7878
},

0 commit comments

Comments
 (0)