driver: vdev_posix, increase PX4_MAX_FD (#7905)

- avoid "exceeded maximum number of file descriptors" when "make posix gazebo_typhoon_h480"
 - closes #7892
This commit is contained in:
Eric Wang
2017-09-03 23:55:44 +08:00
committed by Daniel Agar
parent 962cdcf837
commit 2b714e079b

View File

@@ -59,7 +59,7 @@ volatile bool sim_delay = false;
extern "C" {
#define PX4_MAX_FD 300
#define PX4_MAX_FD 350
static device::file_t *filemap[PX4_MAX_FD] = {};
int px4_errno;