1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

Fixed debugging via Servo PWM pins

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2544 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
FredericG 2011-01-23 18:11:47 +00:00 committed by FredericG
parent 0bdea195c1
commit 70f11543e0

View File

@ -34,6 +34,18 @@
// Global variables
const char *PIOS_DEBUG_AssertMsg = "ASSERT FAILED";
#include <pios_servo_priv.h>
extern const struct pios_servo_channel pios_servo_channels[];
#define PIOS_SERVO_GPIO_PORT_1TO4 pios_servo_channels[0].port
#define PIOS_SERVO_GPIO_PORT_5TO8 pios_servo_channels[4].port
#define PIOS_SERVO_GPIO_PIN_1 pios_servo_channels[0].pin
#define PIOS_SERVO_GPIO_PIN_2 pios_servo_channels[1].pin
#define PIOS_SERVO_GPIO_PIN_3 pios_servo_channels[2].pin
#define PIOS_SERVO_GPIO_PIN_4 pios_servo_channels[3].pin
#define PIOS_SERVO_GPIO_PIN_5 pios_servo_channels[4].pin
#define PIOS_SERVO_GPIO_PIN_6 pios_servo_channels[5].pin
#define PIOS_SERVO_GPIO_PIN_7 pios_servo_channels[6].pin
#define PIOS_SERVO_GPIO_PIN_8 pios_servo_channels[7].pin
/* Private Function Prototypes */
/**