From a0cfe6aea81c7e6991cc96bff13a1a5900037243 Mon Sep 17 00:00:00 2001 From: James Goppert Date: Wed, 26 Oct 2011 13:34:49 -0400 Subject: [PATCH] Added missing const to apo settings files. --- ArduBoat/BoatGeneric.h | 8 ++++---- ArduRover/CarStampede.h | 8 ++++---- ArduRover/TankGeneric.h | 8 ++++---- apo/PlaneEasystar.h | 8 ++++---- apo/QuadArducopter.h | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/ArduBoat/BoatGeneric.h b/ArduBoat/BoatGeneric.h index 1ff729dc7b..b79f2f5634 100644 --- a/ArduBoat/BoatGeneric.h +++ b/ArduBoat/BoatGeneric.h @@ -28,10 +28,10 @@ static const uint8_t heartBeatTimeout = 3; #define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL // baud rates -static uint32_t debugBaud = 57600; -static uint32_t telemBaud = 57600; -static uint32_t gpsBaud = 38400; -static uint32_t hilBaud = 57600; +static const uint32_t debugBaud = 57600; +static const uint32_t telemBaud = 57600; +static const uint32_t gpsBaud = 38400; +static const uint32_t hilBaud = 57600; // optional sensors static const bool gpsEnabled = false; diff --git a/ArduRover/CarStampede.h b/ArduRover/CarStampede.h index ccaac1863c..9cb4b6792b 100644 --- a/ArduRover/CarStampede.h +++ b/ArduRover/CarStampede.h @@ -28,10 +28,10 @@ static const uint8_t heartBeatTimeout = 3; #define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL // baud rates -static uint32_t debugBaud = 57600; -static uint32_t telemBaud = 57600; -static uint32_t gpsBaud = 38400; -static uint32_t hilBaud = 57600; +static const uint32_t debugBaud = 57600; +static const uint32_t telemBaud = 57600; +static const uint32_t gpsBaud = 38400; +static const uint32_t hilBaud = 57600; // optional sensors static const bool gpsEnabled = false; diff --git a/ArduRover/TankGeneric.h b/ArduRover/TankGeneric.h index 4a309b76c9..106eeca20a 100644 --- a/ArduRover/TankGeneric.h +++ b/ArduRover/TankGeneric.h @@ -29,10 +29,10 @@ static const uint8_t heartBeatTimeout = 3; #define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL // baud rates -static uint32_t debugBaud = 57600; -static uint32_t telemBaud = 57600; -static uint32_t gpsBaud = 38400; -static uint32_t hilBaud = 57600; +static const uint32_t debugBaud = 57600; +static const uint32_t telemBaud = 57600; +static const uint32_t gpsBaud = 38400; +static const uint32_t hilBaud = 57600; // optional sensors static const bool gpsEnabled = false; diff --git a/apo/PlaneEasystar.h b/apo/PlaneEasystar.h index d8fa997d8b..7273922a61 100644 --- a/apo/PlaneEasystar.h +++ b/apo/PlaneEasystar.h @@ -27,10 +27,10 @@ static const uint8_t heartBeatTimeout = 3; #define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL // baud rates -static uint32_t debugBaud = 57600; -static uint32_t telemBaud = 57600; -static uint32_t gpsBaud = 38400; -static uint32_t hilBaud = 57600; +static const uint32_t debugBaud = 57600; +static const uint32_t telemBaud = 57600; +static const uint32_t gpsBaud = 38400; +static const uint32_t hilBaud = 57600; // optional sensors static const bool gpsEnabled = false; diff --git a/apo/QuadArducopter.h b/apo/QuadArducopter.h index 62d0a2f81c..670aa18e05 100644 --- a/apo/QuadArducopter.h +++ b/apo/QuadArducopter.h @@ -27,10 +27,10 @@ static const uint8_t heartBeatTimeout = 3; #define RANGE_FINDER_CLASS AP_RangeFinder_MaxsonarXL // baud rates -static uint32_t debugBaud = 57600; -static uint32_t telemBaud = 57600; -static uint32_t gpsBaud = 38400; -static uint32_t hilBaud = 57600; +static const uint32_t debugBaud = 57600; +static const uint32_t telemBaud = 57600; +static const uint32_t gpsBaud = 38400; +static const uint32_t hilBaud = 57600; // optional sensors static const bool gpsEnabled = false;