Compare commits

...

1 Commits

Author SHA1 Message Date
Gunnar Skjold
4d6e63a171 Fixed GPIO HAN select for ESP8266 2023-02-12 20:48:38 +01:00
2 changed files with 17 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@@ -19,7 +19,6 @@
<option value={18}>UART1</option> <option value={18}>UART1</option>
{/if} {/if}
{#if chip.startsWith('esp32')}
{#each {length: gpioMax+1} as _, i} {#each {length: gpioMax+1} as _, i}
{#if i > 3 {#if i > 3
&& !(chip == 'esp32' && (i == 9 || i == 16)) && !(chip == 'esp32' && (i == 9 || i == 16))
@@ -29,4 +28,3 @@
<option value={i}>GPIO{i}</option> <option value={i}>GPIO{i}</option>
{/if} {/if}
{/each} {/each}
{/if}