mirror of https://github.com/ArduPilot/ardupilot
Added missing const to apo settings files.
This commit is contained in:
parent
f0fe8ecb90
commit
a0cfe6aea8
|
@ -28,10 +28,10 @@ static const uint8_t heartBeatTimeout = 3;
|
||||||
#define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL
|
#define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL
|
||||||
|
|
||||||
// baud rates
|
// baud rates
|
||||||
static uint32_t debugBaud = 57600;
|
static const uint32_t debugBaud = 57600;
|
||||||
static uint32_t telemBaud = 57600;
|
static const uint32_t telemBaud = 57600;
|
||||||
static uint32_t gpsBaud = 38400;
|
static const uint32_t gpsBaud = 38400;
|
||||||
static uint32_t hilBaud = 57600;
|
static const uint32_t hilBaud = 57600;
|
||||||
|
|
||||||
// optional sensors
|
// optional sensors
|
||||||
static const bool gpsEnabled = false;
|
static const bool gpsEnabled = false;
|
||||||
|
|
|
@ -28,10 +28,10 @@ static const uint8_t heartBeatTimeout = 3;
|
||||||
#define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL
|
#define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL
|
||||||
|
|
||||||
// baud rates
|
// baud rates
|
||||||
static uint32_t debugBaud = 57600;
|
static const uint32_t debugBaud = 57600;
|
||||||
static uint32_t telemBaud = 57600;
|
static const uint32_t telemBaud = 57600;
|
||||||
static uint32_t gpsBaud = 38400;
|
static const uint32_t gpsBaud = 38400;
|
||||||
static uint32_t hilBaud = 57600;
|
static const uint32_t hilBaud = 57600;
|
||||||
|
|
||||||
// optional sensors
|
// optional sensors
|
||||||
static const bool gpsEnabled = false;
|
static const bool gpsEnabled = false;
|
||||||
|
|
|
@ -29,10 +29,10 @@ static const uint8_t heartBeatTimeout = 3;
|
||||||
#define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL
|
#define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL
|
||||||
|
|
||||||
// baud rates
|
// baud rates
|
||||||
static uint32_t debugBaud = 57600;
|
static const uint32_t debugBaud = 57600;
|
||||||
static uint32_t telemBaud = 57600;
|
static const uint32_t telemBaud = 57600;
|
||||||
static uint32_t gpsBaud = 38400;
|
static const uint32_t gpsBaud = 38400;
|
||||||
static uint32_t hilBaud = 57600;
|
static const uint32_t hilBaud = 57600;
|
||||||
|
|
||||||
// optional sensors
|
// optional sensors
|
||||||
static const bool gpsEnabled = false;
|
static const bool gpsEnabled = false;
|
||||||
|
|
|
@ -27,10 +27,10 @@ static const uint8_t heartBeatTimeout = 3;
|
||||||
#define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL
|
#define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL
|
||||||
|
|
||||||
// baud rates
|
// baud rates
|
||||||
static uint32_t debugBaud = 57600;
|
static const uint32_t debugBaud = 57600;
|
||||||
static uint32_t telemBaud = 57600;
|
static const uint32_t telemBaud = 57600;
|
||||||
static uint32_t gpsBaud = 38400;
|
static const uint32_t gpsBaud = 38400;
|
||||||
static uint32_t hilBaud = 57600;
|
static const uint32_t hilBaud = 57600;
|
||||||
|
|
||||||
// optional sensors
|
// optional sensors
|
||||||
static const bool gpsEnabled = false;
|
static const bool gpsEnabled = false;
|
||||||
|
|
|
@ -27,10 +27,10 @@ static const uint8_t heartBeatTimeout = 3;
|
||||||
#define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL
|
#define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL
|
||||||
|
|
||||||
// baud rates
|
// baud rates
|
||||||
static uint32_t debugBaud = 57600;
|
static const uint32_t debugBaud = 57600;
|
||||||
static uint32_t telemBaud = 57600;
|
static const uint32_t telemBaud = 57600;
|
||||||
static uint32_t gpsBaud = 38400;
|
static const uint32_t gpsBaud = 38400;
|
||||||
static uint32_t hilBaud = 57600;
|
static const uint32_t hilBaud = 57600;
|
||||||
|
|
||||||
// optional sensors
|
// optional sensors
|
||||||
static const bool gpsEnabled = false;
|
static const bool gpsEnabled = false;
|
||||||
|
|
Loading…
Reference in New Issue