Adds initial support for the x3 device #25
+301
−104
Annotations
10 errors and 2 warnings
|
Run linter:
src/esp/useEspOperations.ts#L124
Delete `····`
|
|
Run linter:
src/esp/useEspOperations.ts#L66
Delete `⏎···`
|
|
Run linter:
src/esp/useEspOperations.ts#L40
Use an `interface` instead of a `type`
|
|
Run linter:
src/esp/EspController.ts#L213
Replace `offset,·this.layout.appSize,·onPacketReceived` with `⏎······offset,⏎······this.layout.appSize,⏎······onPacketReceived,⏎····`
|
|
Run linter:
src/esp/EspController.ts#L85
Replace `device:·SerialPort,·partitionLayout:·PartitionLayout·=·X4_PARTITION_LAYOUT` with `⏎····device:·SerialPort,⏎····partitionLayout:·PartitionLayout·=·X4_PARTITION_LAYOUT,⏎··`
|
|
Run linter:
src/esp/EspController.ts#L83
Expected blank line between class members
|
|
Run linter:
src/app/page.tsx#L273
Insert `⏎`
|
|
Run linter:
src/app/page.tsx#L257
Replace `·“Reset”·button⏎················near·the·bottom·right,·followed·quickly·by·pressing·and·holding⏎················of·the·main·power·button·for` with `⏎················“Reset”·button·near·the·bottom·right,·followed⏎················quickly·by·pressing·and·holding·of·the·main·power·button·for⏎···············`
|
|
Run linter:
src/app/page.tsx#L243
Replace `·“OK·/·Confirm”·button·and·“OK·/·Confirm”·again·until·English·is⏎············shown.·Otherwise,·the·language·will·still·be·Chinese·after·flashing⏎···········` with `·then·click·“OK·/·Confirm”·button·and·“OK·/⏎············Confirm”·again·until·English·is·shown.·Otherwise,·the·language⏎············will·still·be·Chinese·after·flashing`
|
|
Run linter:
src/app/page.tsx#L242
Delete `·then·click`
|
|
Run linter:
src/app/page.tsx#L16
'DeviceModel' is defined but never used
|
|
Run linter:
src/app/page.tsx#L14
'Text' is defined but never used
|
background
wait
wait-all
cancel
Loading