catgiggle / OctoPrint-GpioControl

GNU Affero General Public License v3.0
24 stars 14 forks source link

Check GPIO pin nuber during in settings #2

Closed catgiggle closed 3 years ago

catgiggle commented 3 years ago

It is possible to select pin that doesn't exists. eg. GPIO0. Which causes error.

catgiggle commented 3 years ago

Fixed. Is it possible to define any configuration, but invalid button will be disabled in sidebar.