File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -293,15 +293,13 @@ const framingLabel = (parity) => (parity === "even" ? "8E1" : "8N1");
293293
294294function 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
301300function 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 ( ) ;
You can’t perform that action at this time.
0 commit comments