1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

marking some more stuff const that shouldn't be changing. thx Hydra for the catch.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@384 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop@gmail.com 2013-08-24 10:20:55 +00:00
parent 1441d46323
commit 01376de3e5
2 changed files with 3 additions and 3 deletions

View file

@ -74,7 +74,7 @@
typedef void pwmCallbackPtr(uint8_t port, uint16_t capture);
static pwmHardware_t timerHardware[] = {
static const pwmHardware_t timerHardware[] = {
{ TIM2, GPIOA, GPIO_Pin_0, TIM_Channel_1, TIM2_IRQn, 0, }, // PWM1
{ TIM2, GPIOA, GPIO_Pin_1, TIM_Channel_2, TIM2_IRQn, 0, }, // PWM2
{ TIM2, GPIOA, GPIO_Pin_2, TIM_Channel_3, TIM2_IRQn, 0, }, // PWM3
@ -188,7 +188,7 @@ static const uint8_t airPWM[] = {
0xFF
};
static const uint8_t *hardwareMaps[] = {
static const uint8_t * const hardwareMaps[] = {
multiPWM,
multiPPM,
airPWM,