1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

Posix: Add the constants for telemetry queue sizes and also make the actuator

SetHz calls compatible with the PiOS API change

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2672 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
peabody124 2011-02-01 15:47:02 +00:00 committed by peabody124
parent d33d044088
commit c3aa5ed8f3
3 changed files with 6 additions and 5 deletions

View File

@ -37,8 +37,8 @@
#define PIOS_INCLUDE_FREERTOS
#define PIOS_INCLUDE_COM
#define PIOS_INCLUDE_UDP
#define PIOS_INCLUDE_SERVO
#define PIOS_INCLUDE_SERVO
/* Defaults for Logging */
#define LOG_FILENAME "PIOS.LOG"
@ -54,5 +54,6 @@
#define SERVOS_POSITION_MIN 800
#define SERVOS_POSITION_MAX 2200
#define TELEM_QUEUE_SIZE 20
#define TELEM_STACK_SIZE 2048
#endif /* PIOS_CONFIG_POSIX_H */

View File

@ -32,7 +32,7 @@
/* Public Functions */
extern void PIOS_Servo_Init(void);
extern void PIOS_Servo_SetHz(uint16_t onetofour, uint16_t fivetoeight);
extern void PIOS_Servo_SetHz(uint16_t * speeds, uint8_t num_banks);
extern void PIOS_Servo_Set(uint8_t Servo, uint16_t Position);
#endif /* PIOS_SERVO_H */

View File

@ -50,7 +50,7 @@ void PIOS_Servo_Init(void)
* \param[in] onetofour Rate for outputs 1 to 4 (Hz)
* \param[in] fivetoeight Rate for outputs 5 to 8 (Hz)
*/
void PIOS_Servo_SetHz(uint16_t onetofour, uint16_t fivetoeight)
void PIOS_Servo_SetHz(uint16_t * banks, uint8_t num_banks)
{
}