Browse Source

AP_Baro: allow for define of BARO_MAX_INSTANCES

zr-v5.1
Andrew Tridgell 4 years ago
parent
commit
474f22c3fe
  1. 2
      libraries/AP_Baro/AP_Baro.h

2
libraries/AP_Baro/AP_Baro.h

@ -12,7 +12,9 @@ @@ -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

Loading…
Cancel
Save