mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Added extern to all function prototypes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@10 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
25f153a680
commit
99985d017e
@ -32,9 +32,9 @@
|
||||
typedef enum {LED1 = 0, LED2 = 1} Led_TypeDef;
|
||||
|
||||
/* Exported Functions */
|
||||
void LED_INIT(void);
|
||||
void LED_ON(Led_TypeDef LEDNum);
|
||||
void LED_OFF(Led_TypeDef LEDNum);
|
||||
void LED_TOGGLE(Led_TypeDef LEDNum);
|
||||
extern void LED_INIT(void);
|
||||
extern void LED_ON(Led_TypeDef LEDNum);
|
||||
extern void LED_OFF(Led_TypeDef LEDNum);
|
||||
extern void LED_TOGGLE(Led_TypeDef LEDNum);
|
||||
|
||||
#endif /* PIOS_LED_H */
|
||||
|
@ -61,6 +61,6 @@ typedef struct {
|
||||
extern SettingsTypeDef Settings;
|
||||
|
||||
/* Function Prototypes */
|
||||
void LoadSettings(void);
|
||||
extern void LoadSettings(void);
|
||||
|
||||
#endif /* PIOS_SETTINGS_H */
|
@ -29,8 +29,8 @@
|
||||
#define PIOS_SYS_H
|
||||
|
||||
/* Exported Functions */
|
||||
void SysInit(void);
|
||||
void GPIO_Configuration(void);
|
||||
void NVIC_Configuration(void);
|
||||
extern void SysInit(void);
|
||||
extern void GPIO_Configuration(void);
|
||||
extern void NVIC_Configuration(void);
|
||||
|
||||
#endif /* PIOS_SYS_H */
|
||||
|
@ -29,9 +29,9 @@
|
||||
#define PIOS_UART_H
|
||||
|
||||
/* Function Prototypes */
|
||||
void UARTInit(void);
|
||||
void EnableAuxUART(void);
|
||||
void DisableAuxUART(void);
|
||||
void UARTChangeBaud(USART_TypeDef* USARTx, uint32_t Baud);
|
||||
extern void UARTInit(void);
|
||||
extern void EnableAuxUART(void);
|
||||
extern void DisableAuxUART(void);
|
||||
extern void UARTChangeBaud(USART_TypeDef* USARTx, uint32_t Baud);
|
||||
|
||||
#endif /* PIOS_UART_H */
|
||||
|
Loading…
Reference in New Issue
Block a user