Browse Source

prevent selection of SPI pins for 8266

pull/807/head
Markus Krause 2 years ago
parent
commit
2e0add3548
  1. 1
      .gitignore
  2. 4
      src/web/html/setup.html

1
.gitignore

@ -12,3 +12,4 @@ src/web/html/tmp/*
*.db
*.suo
*.ipch
src/output.map

4
src/web/html/setup.html

@ -655,7 +655,11 @@
function parsePinout(obj, type, system) {
var e = document.getElementById("pinout");
if ("ESP8266" == type) {
pins = [['cs', 'pinCs'], ['ce', 'pinCe'], ['irq', 'pinIrq'], ['led0', 'pinLed0'], ['led1', 'pinLed1']];
} else {
pins = [['cs', 'pinCs'], ['ce', 'pinCe'], ['irq', 'pinIrq'], ['sclk', 'pinSclk'], ['mosi', 'pinMosi'], ['miso', 'pinMiso'], ['led0', 'pinLed0'], ['led1', 'pinLed1']];
}
for(p of pins) {
e.append(
ml("div", {class: "row mb-3"}, [

Loading…
Cancel
Save