mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-23 15:53:19 +00:00
Fixed GPIO HAN select for ESP8266
This commit is contained in:
16
lib/SvelteUi/app/dist/index.js
vendored
16
lib/SvelteUi/app/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -19,14 +19,12 @@
|
||||
<option value={18}>UART1</option>
|
||||
{/if}
|
||||
|
||||
{#if chip.startsWith('esp32')}
|
||||
{#each {length: gpioMax+1} as _, i}
|
||||
{#if i > 3
|
||||
&& !(chip == 'esp32' && (i == 9 || i == 16))
|
||||
&& !(chip == 'esp32s2' && i == 18)
|
||||
&& !(chip == 'esp8266' && (i == 3 || i == 113))
|
||||
}
|
||||
<option value={i}>GPIO{i}</option>
|
||||
{/if}
|
||||
{/each}
|
||||
{/if}
|
||||
{#each {length: gpioMax+1} as _, i}
|
||||
{#if i > 3
|
||||
&& !(chip == 'esp32' && (i == 9 || i == 16))
|
||||
&& !(chip == 'esp32s2' && i == 18)
|
||||
&& !(chip == 'esp8266' && (i == 3 || i == 113))
|
||||
}
|
||||
<option value={i}>GPIO{i}</option>
|
||||
{/if}
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user