Global static variables (mostly file descriptors and structures) were causing problems when multiple blocks of the same driver were used. This change should fix all of those global variables in NuttX subfolder. Integer parameter or pointer parameter was used to get file descriptors and structures to the functions based on some drivers without those problems (ENC or GPIO).
Global static variables (mostly file descriptors and structures) were causing problems when multiple blocks of the same driver were used. This change should fix all of those global variables in NuttX subfolder. Integer parameter or pointer parameter was used to get file descriptors and structures to the functions based on some drivers without those problems (ENC or GPIO).