From 50da1cfa1defba9bc08520a3a03ec05c2efdec2f Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Sun, 17 Jul 2016 01:19:16 +0200 Subject: [PATCH] KISSFC Move PPM to AUX2 // Board identifier set to 4 chars --- src/main/target/KISSFC/target.c | 4 ++-- src/main/target/KISSFC/target.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/target/KISSFC/target.c b/src/main/target/KISSFC/target.c index e270422ad..5045599da 100644 --- a/src/main/target/KISSFC/target.c +++ b/src/main/target/KISSFC/target.c @@ -22,7 +22,7 @@ #include "drivers/pwm_mapping.h" const uint16_t multiPPM[] = { - PWM9 | (MAP_TO_PPM_INPUT << 8), + PWM12 | (MAP_TO_PPM_INPUT << 8), PWM3 | (MAP_TO_MOTOR_OUTPUT << 8), PWM2 | (MAP_TO_MOTOR_OUTPUT << 8), PWM4 | (MAP_TO_MOTOR_OUTPUT << 8), @@ -32,7 +32,6 @@ const uint16_t multiPPM[] = { PWM8 | (MAP_TO_MOTOR_OUTPUT << 8), PWM10 | (MAP_TO_MOTOR_OUTPUT << 8), PWM11 | (MAP_TO_MOTOR_OUTPUT << 8), - PWM12 | (MAP_TO_MOTOR_OUTPUT << 8), 0xFFFF }; @@ -44,6 +43,7 @@ const uint16_t multiPWM[] = { PWM5 | (MAP_TO_MOTOR_OUTPUT << 8), PWM6 | (MAP_TO_MOTOR_OUTPUT << 8), + PWM7 | (MAP_TO_PWM_INPUT << 8), PWM8 | (MAP_TO_PWM_INPUT << 8), PWM9 | (MAP_TO_PWM_INPUT << 8), PWM10 | (MAP_TO_PWM_INPUT << 8), diff --git a/src/main/target/KISSFC/target.h b/src/main/target/KISSFC/target.h index 3c5f4cd5d..7224db6b6 100644 --- a/src/main/target/KISSFC/target.h +++ b/src/main/target/KISSFC/target.h @@ -17,7 +17,7 @@ #pragma once -#define TARGET_BOARD_IDENTIFIER "KISSFC" +#define TARGET_BOARD_IDENTIFIER "KISS" #define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE