jamesbowman / spidriver

SPI driver public repo
https://spidriver.com/
BSD 3-Clause "New" or "Revised" License
178 stars 56 forks source link

spicl: improve command arg checking #30

Closed robn closed 2 years ago

robn commented 2 years ago

For 'w' and 'r', a missing argument would cause a segfault. For 'a', 'b' and 'm', the command would just be ignored. Lets try to improve that a little.