mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
lib/cdev/posix: increase max FDs 256->512
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user