diegoherranz opened a new pull request #2500:
URL: https://github.com/apache/incubator-nuttx/pull/2500


   ## Summary
   The devno couldn't fit in the string.
   The example apps for 
[apa102](https://github.com/apache/incubator-nuttx-apps/blob/2a462c78aa5f4ea6dc374eedd86bc85f9f79a0c4/examples/apa102/apa102_main.c)
 and 
[veml6070](https://github.com/apache/incubator-nuttx-apps/blob/2a462c78aa5f4ea6dc374eedd86bc85f9f79a0c4/examples/veml6070/veml6070_main.c)
 wouldn't work and this should fix it.
   
   Also header path updated in drivers/leds/apa102.c
   
   ## Impact
   Anyone using these devpaths from the app space would see the device name 
changed (e.g. `/dev/leddrv0` instead of `/dev/leddrv`). If someone was relying 
on the devpath without the number, they may be impacted, but it was a bug, so I 
think it should be fixed.
   Note: stm32f103-minimum is the only in-tree board that uses these 2 
functions so it's unlikely to affect anyone.
   
   ## Testing
   apa102 app tested and it no longer says `ERROR: Failed to open /dev/leddrv0`
   
   Thanks!
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to