Skip to content

Commit

Permalink
Address warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
xingrz committed Mar 25, 2023
1 parent 293cadb commit 857fd1a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ app.use(createRouter({
{
path: '/',
name: 'simple',
component: () => import('@/routes/Simple.vue'),
component: () => import('@/routes/SimpleView.vue'),
},
{
path: '/studio',
name: 'studio',
component: () => import('@/routes/Studio.vue'),
component: () => import('@/routes/StudioView.vue'),
},
],
}));
Expand Down
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions src/unpack/readUf2.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
import type { IFlashArgs, IFlashPartition } from '@/esptool';
import hex from '@/esptool/utils/hex';

const MAGIC_FIRST = 0x0A324655;
const MAGIC_SECOND = 0x9E5D5157;
const MAGIC_FINAL = 0x0AB16F30;

const FLAG_NOT_MAIN_FLASH = 0x00000001;
const FLAG_FILE_CONTAINER = 0x00001000;
const FLAG_FAMILYID_PRESENT = 0x00002000;
const FLAG_MD5_CHECKSUM_PRESENT = 0x00004000;
const FLAG_EXTENSION_TAGS_PRESENT = 0x00008000;

export default async function readUf2(file: File): Promise<IFlashArgs | null> {
const flashArgs = <IFlashArgs>{
Expand Down

0 comments on commit 857fd1a

Please sign in to comment.