AP_Baro: allow for define of BARO_MAX_INSTANCES

This commit is contained in:
Andrew Tridgell 2021-04-29 15:13:47 +10:00
parent efe8042fbe
commit 474f22c3fe

View File

@ -12,7 +12,9 @@
#endif
// maximum number of sensor instances
#ifndef BARO_MAX_INSTANCES
#define BARO_MAX_INSTANCES 3
#endif
// maximum number of drivers. Note that a single driver can provide
// multiple sensor instances