Skip to content

Commit e6fc239

Browse files
committed
Fix minor formatting
1 parent 1abae8c commit e6fc239

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎src/app.js‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -293,15 +293,13 @@ const framingLabel = (parity) => (parity === "even" ? "8E1" : "8N1");
293293

294294
function monitorSettings() {
295295
return {
296-
baudRate: Number(els.monBaud.value) || 115200,
297-
parity: els.monFraming.value,
296+
baudRate: Number(els.monBaud.value) || 115200, parity: els.monFraming.value,
298297
};
299298
}
300299

301300
function flashSettings() {
302301
return {
303-
baudRate: Number(els.cfgBaud.value) || 115200,
304-
parity: els.cfgParity.value,
302+
baudRate: Number(els.cfgBaud.value) || 115200, parity: els.cfgParity.value,
305303
};
306304
}
307305

@@ -572,8 +570,7 @@ async function flash() {
572570
try {
573571
setPhase("Entering bootloader");
574572
await ensurePort({
575-
baudRate: cfg.baudRate,
576-
parity: cfg.parity
573+
baudRate: cfg.baudRate, parity: cfg.parity
577574
}, "the bootloader");
578575
await state.target.enterBootloader();
579576
await state.bl.sync();

0 commit comments

Comments
 (0)