pttlink / Asterisk

Version of asterisk used for PTTLink. And home of the original ASL code base repo.
Other
39 stars 34 forks source link

GPIO command parse fix #62

Closed TheCranston closed 4 years ago

TheCranston commented 4 years ago

This PR fixes the parsing of the GPIO commands so that a ":" is allowed as the "=" gets stripped. It also addresses a defect when there were two arguments to the command and the second was being dropped. Something like GPIO4:1 will now turn on the GPIO4 pin. GPIO4:0 will turn off the GPIO pin. LEDs should now behave correctly.

KG7QIN commented 4 years ago

Thanks for the submission.