lib/cdev/posix: increase max FDs 256->512

This commit is contained in:
Daniel Agar
2022-01-27 21:45:06 -05:00
parent 058302ecdb
commit 274d0d65c6
+2 -3
View File
@@ -62,9 +62,8 @@ private:
px4_dev_t() = default;
};
static px4_dev_t *devmap[256] {};
#define PX4_MAX_FD 256
#define PX4_MAX_FD 512
static px4_dev_t *devmap[PX4_MAX_FD] {};
static cdev::file_t filemap[PX4_MAX_FD] {};
class VFile : public cdev::CDev